• L Spec in RPG/RPGLE

    Hi, In our project we are using L-Spec in some of the program. Can any one explain the basics of L-Spec. Sabarish

    Sabarish60 pointsBadges:
  • RPG DUMP opcode produces no output in Apache CGI programs

    We have a standard *PSSR subroutine for our ILE RPG programs that includes the DUMP opcode. It works fine except in CGI programs where no dump is produced when the *PSSR subroutine is executed. Does anyone know why this is?

    NickT25 pointsBadges:
  • Add, change and delete Subfile records

    We currently have an order entry program that lists items on an order and you can position to an item via a field in the CTL area. My question is I need to be able to add items to an order by keying in items, qty, etc from the bottom of the screen. The order header info needs to be on top of the...

    filuphaze475 pointsBadges:
  • Distance between 2 points with RPG

    RPG Code to calculate the distance between two (2) points using Longitude and Latitude?

    LiveClean5 pointsBadges:
  • Line of code in a RPG400 and RPG ILE Program.

    What is the size of RPG400 and RPG ILE program in the sence of Line of code? If my RPG400 program exceed the limited size then how can resolve this problem means i have to add more line of code to the program.

    Chandra9355 pointsBadges:
  • negative numeric values

    How to retrieve the negative numeric values stored in packed fields of a PF into a RPG program and process them?

    ten20081,150 pointsBadges:
  • whats are the contents of a databse fields after the record is written

    I have a field in a file eg. NewQueue. Once I write or update a record in the file that has field NewQueue, are the contents of that field still available for evaluation?

    Macitmich20 pointsBadges:
  • Exfmt opcode

    Hi in a display file i can have many record formats.But while using them for I/O operations in the RPG programs can i use multiple EXFMT operation at different places? And how to control it in loops.Give me an example. Also tell me sample code for F12-cancel to go to the previous screen of display...

    ten20081,150 pointsBadges:
  • Trim Data on field in RPG

    Hi I am writing a program to FTP the data from our system to another service provider. I have created one field length of 680 In my RPG program I have a data structure combine about 63 fields into one field. The problem i am having is that when a field is let's say 20 long and I need to trim the...

    devan390 pointsBadges:
  • Printer files in RPG ILE

    How can we create and use printer files in rpg ile... i am new to as400 and i want to know about printer files and reports as my company asked me to........

    Rpgile25 pointsBadges:
  • What is command we can use for calculate difference between 2 times (like subdur)?

    we can use subdur for calculate the difference between 2 dates. and what's the function code that can use for difference between two times?

    Ccss10 pointsBadges:
  • How can As400 RPG check if user is logged in

    Looking for As400 RPg code to check if user is logged in AS400. All assistance is greatly appreciated. Thanks, Alex Bernardo

    DHLSameday185 pointsBadges:
  • RPG/400 CHAIN opcode

    Hi,anybody tell me how to find the end of file situation while reading through the CHAIN opcode on a file in RPG/400 and in RPGLE. I think RPGLE we have %found built in function.thanks

    ten20081,150 pointsBadges:
  • SQL or RPG

    Would it be better to use SQL or RPG, to update one field in the file with a value from another field in the same file? I am not that familiar with SQL, only a beginner. My RPG skills are rusty as I've not written anything in the last 4 years.

    Adeaver20 pointsBadges:
  • How to use XML in RPG

    Hi All, I want to know if its possible to FTP a file from RPG to any other systems using XML. More precisely, can we use XML to pull the data from RPG and feed it to other systems. If yes, appreciate if you can give some inputs or notes where I can find the complete process or code. Thanks.

    RPGPGM40 pointsBadges:
  • Logical Relationship in Input Specs in RPG

    Hi, We can use operators AND/OR (in position 16:18) to specify logical relationship for Record Identification codes of an input record. I understood in what cases we use AND operator, but I couldn't understand in what cases one can use OR operator. I would be highly thankful if someone can help me...

    Shrutigupta165 pointsBadges:
  • Make RPG ILE programs look better

    How can i use my as400 programming screen look better using different colours for my comments.

    Narasimha1255 pointsBadges:
  • CPW source code

    I would like to simulate a CPW benchmark. Is there source code (preferrably on RPG) available and how can I obtain it? Or is it just IBM private property?

    ThomasSykora15 pointsBadges:
  • Program calls on AS/400

    How i can check that my previous call to a program from other program was successful. Only after successful call and run only i can call another program. How to do check this in RPG and CL?

    ten20081,150 pointsBadges:
  • Synon/Cool:2E – internal/external func performance question

    I have a situation where I have to call a synon function multiple times (for each record in a file one after another) from another synon function. The called function does some calculatons. Will there be any performance improvement if I make the called func an internal function and have an external...

    Rituraj0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following