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
what is the procedure and explain about real time scenario.
how does the rpg element work?
how can I tell when to replace the array?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Explain mdt?
can I touch the array during treatments?
what is program status data structure?
What are the types of identifiers?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is kids-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 to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How would display prime numbers using CL program?
what was the robotech rpg?
How to select highest score of each subject or how to select highest income of every month?