1.Where we declare Variables in RPG/400,RPGIV,RPGILE.?
2.When do we use D-spec and I-spec in real time ?.what is
difference between them?
Answer Posted / krocks
Ans 1 : We declare all our variables in D spec. Generally D spec comes after F spec on top of RPG program, but you can declare anywhere in your program.
Ans 2 : I-Spec and O-Spec are concept from RPG III, where one need to declare different variables for input and output. In D -Spec in RPG IV you need to declare only 1 variable for input and output.
I,O Spec used for RPG life cycle, printer file output etc...
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
how do you use commitment control in rpg?
what is a rpg?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
how does the rpg element work?
what is an online rpg?
what is kids-rpg?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How would display prime numbers using CL program?
can you debug ile rpg program using isdb?
what is file information data structure?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How to write record if no field or the field are different in physical file in rpgle ?
How to handle duplicate error handling in RPG?
what is the rpg system?
explain sflclr, sflend, sfldlt, and sflcsrrrn?