IBM AS400

  Home  Mainframes  IBM AS400


“IBM AS400 frequently Asked Questions in various IBM AS400 job Interviews by interviewer. Get preparation of IBM AS400 job interview”



25 IBM AS400 Questions And Answers

22⟩ HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS. I KNOW THE STEPS FOR BATCH EBUGGING, BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE. SO HERE ALSO DO SAME THING OR ANY OTHER WAY?

it is also normal process like as batch job steps...

when we found job in MSGW using WRKSBMJOB,simply we can enter into job log using 5 option.

after we start at command line.

step1-> STRSRVJOB jobnum/jobname/user

step2-> STRDBG pgmname

when we press enter,the control will directly goto

the error occurred line,here we can change any values directly using EVAL then after press F3,it will sho wjob log screen,then again press f3 to come to MSGW screen.here press 7(display message screen) to continue the execution of batch job we press G(continue).then it will execute remaing steps without abnormal ending the job.

 203 views

24⟩ Suppose 4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlightall 4 person have different speed. a = crosses bridge in 1 min.b = crosses bridge in 2 min.c = crosses bridge in 5 min.d = crosses bridge in 10 minhow can they all reach in time?Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.?

A and B will cross the bridge. --> 2 mins

A will come back with the flashlight. --> 1 min

C and D will cross the bridge --> 10 mins

B will come back with the flashlight. --> 2 mins

A and B will cross the bridge. --> 2 mins

Total is 17 mins.

 204 views

25⟩ What is difference between rename and prefix?

The RENAME keyword allows you to rename record formats in

an externally described file. The external name of the

record format that is to be renamed is entered as the

Ext_format parameter. The Int_format parameter is the name

of the record as it is used in the program. The external

name is replaced by this name in the program.

To rename all fields by adding a prefix, use the PREFIX

keyword.

 178 views