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 |
Can we possible to key with the date field?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
can we use cl programming to update or delete physical files
How can we override a file during runtime in rpg?
what is the necessary command needed before OPNQRYF and why?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
what is file identifier wher we can use
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
What would be the effect on the field where reverse image, underline and high intensity?