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



1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm w..

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

1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm w..

Answer / gagan44

2) ENDJOB is used to end the batch Job in a program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


When it is desirable to describe files Internally?

0 Answers  


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


how do I declare a minor?

0 Answers   IBM,






what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


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

0 Answers  


How do you find whether a job is a batch job or interactive?

4 Answers  


1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

2 Answers   Cap Gemini,


Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,


Categories