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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Write a program to display prime numbers between 1 to 100 using RPGLE.
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
how can an indexed file be used as arrival sequence in RPG?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
what is the necessary keyword needed to scroll subfile records?
What is the difference between iter and do?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
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.
program to find the number of objects used in a given program through a display.