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 |
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
How to set on/off a group of indicators in a single statement?
What is the difference Return and InLr?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
Explain mdt?
What would be the effect on the field where reverse image, underline and high intensity?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
can we use cl programming to update or delete physical files