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 kids-rpg?
how do I preserve and clean the array?
How many program bind in one module....
What is file identifier where we can use?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what was the robotech rpg?
How to handle duplicate error handling in RPG?
is this a rpg channel?
can you debug ile rpg program using isdb?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How to write record if no field or the field are different in physical file in rpgle ?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
how do you use commitment control in rpg?
What is difference between bind by copy and bind by reference?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.