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 ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1971


What is the purpose of record level identifier?

730


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2201


what do you mean by an input subfile, what are the keywords required?

775


How many program bind in one module....

2125






How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

549


how do I play {insert rpg system here}?

587


How to write record if no field or the field are different in physical file in rpgle ?

491


When it is desirable to describe files Internally?

1190


what is the necessary keyword needed to scroll subfile records?

704


What is difference between bind by copy and bind by reference?

1732


what is file information data structure?

1376


how do I preserve and clean the array?

677


do you use message subfiles? What are the necessary keywords required coding a message subfile?

690


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

713