Anyone help me for the below question:-
If problem/error occur in *PSSR subroutine,how should I
handel it in RPG program.
Answer / samul
Control will again come to *PSSR subroutine,In such cases
switch needs to be handeled.
Using switch,if it is not a first time then control goes to
end suboutine (Need to specifiy *CANCL at the end of *PSSR
subroutine)
| Is This Answer Correct ? | 6 Yes | 0 No |
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
how does the rpg element work?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
how to run only 10 modules of existing N modules in service program in RPGILE ?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
How can you delete a record from a file in RPG without using DELETE oppcode?
what are the key words you must use when using a subfile?
How do you know if a record exists without doing a READ and CHAIN?
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
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??