sathya


{ City } chennai
< Country > india
* Profession * sse
User No # 82076
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 7
Users Marked my Answers as Wrong # 0
Questions / { sathya }
Questions Answers Category Views Company eMail




Answers / { sathya }

Question { IBM, 14048 }

Q.How can more than two program be executed in batch mode
through SBMJOB in CL PGM but the condition is that program
must be executed one by one?Please wtite the senario?

2. IS it possibe more then two programs can be executed in
batch mode and HOw it will be executed in CL
program ,please write the senario?


Answer

This is can be acheived by using an API QUSRJOBI. it takes
five mandatory parameters. The status of the job will be
returned to variable &JOBENDR.

CALL PGM(QUSRJOBI) PARM(&JOBINFO &JOBINFL +
&JOBFMT1 &QJOBNAME &QINTJOB)
CHGVAR VAR(&JOBENDR) VALUE(%SST(&JOBINFO 348 1))
==

If the value returned is ''-->then its still running
If the value returned is '0'-->it has completed sucessfully
and then we can submit the next job
If the value returned is '1'-->It has ended in error.

Is This Answer Correct ?    1 Yes 0 No

Question { 18455 }

Can anybody please tell me what is difference between SQL
(STRSQL ) and WRKQRY .....?


Answer

Inserting a record into physical file is not possible using
wrkqry.
Unique and distinct records cannot be derived from wrkqry.

Where strsql can gives access to do both.

Is This Answer Correct ?    6 Yes 0 No