1.How you will find the program is batch or online in cl
pgm?
2.How you will end the batch pgm when the job runs? write
an logic?
3.In wich command the option *drop is used?
Answer Posted / syam
A1. RTVJOBA TYPE(&AA) if value of AA = 0 Batch job
value of AA = 1 interactive job (online)
A2. WRKSBMJOB then OPT 4 to end.
A3. CPYF FROMFILE(MYLIB/MYFILE) TOFILE(MYLIB/MYFILENEW)
FMTOPT(*DROP *MAP)
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is file identifier where we can use?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
how do I play {insert rpg system here}?
What is difference between bind by copy and bind by reference?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
What is ment by record level identifier?
what is the difference between do while and do until?
what is the necessary keyword needed to scroll subfile records?
how can you display specific subfile page on the screen in unequal subfile?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is file information data structure?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the difference between iter and do?
How to handle duplicate error handling in RPG?