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 / 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 |
how to check on which PF , the LF is dependant ?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
How can we make use of SETLL operation in CL?
how do I preserve and clean the array?
Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?
Need a sql query: retrive all duplicate records in table
what are the key words you must use when using a subfile?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
what is plat file?
what was the robotech rpg?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.