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 |
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
What is I90(Insure 90)?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
What are the necessary keywords required to code a message subfile?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
How can we call CL program to RPG? How many number of parameter we can pass
Suppose in CL we reach at end of file and again we have to reach from 1 record
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.
why we do STRSRVJOB in batch debugging in as400