View previous topic :: View next topic
|
Author |
Message |
kalpeshgala
New User
Joined: 08 Jul 2005 Posts: 4
|
|
|
|
Hi,
1) When I give TYPRUN=HOLD in the job statement and submit the job, job remains in the hold status and can be seen in queue.
How to release this job from hold status to execute it?
2) When TYPRUN=SCAN is given and job is submitted, where to see the result of scanned jcl?
Thanks |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
1) If you are in a JES2 system, the JES command $AJnnnn will release the job for execution (where nnnn is your JOB ID).
2) Look at the job's output in the held output queue. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Kalpesh,
Quote: |
1) When I give TYPRUN=HOLD in the job statement and submit the job, job remains in the hold status and can be seen in queue.
How to release this job from hold status to execute it? |
Go to S.ST.
and Enter A before that job, The job will get release.
Regards
Rupesh |
|
Back to top |
|
|
kalpeshgala
New User
Joined: 08 Jul 2005 Posts: 4
|
|
|
|
Hi,
When TYPRUN=SCAN is given, jcl errors are now shown in the job output queue.
For eg : This is the job :-
//IDCAMS JOB 7220,'JEXEC',CLASS=T,MSGCLASS=T,NOTIFY=&SYSUID,
// TYPRUN=SCAN
//STEP001 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//DD1 DD DSN=EBL.ZZTEST.BLD11XO1.PM8,DISP=SHR
//TOOLIN DD DATA
COUNT FROM(DD1) EMPTY
/*
DD1 file is not existing, so giving disp=shr gives jcl error 8 on doing !jck.
But when typrun=scan is given and job is submitted, following is the output queue :-
NP DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt PAGE
JESMSGLG JES2 2 GALAKAL T LOCAL 10
JESJCL JES2 3 GALAKAL T LOCAL 8
JESJCL is just showing JCL and JESMSGLG is not showing any erros.
Where is the result of JCL scanning (CC=8, disp=shr but file not found) ? |
|
Back to top |
|
|
|