IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

about typrun parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalpeshgala

New User


Joined: 08 Jul 2005
Posts: 4

PostPosted: Wed Sep 07, 2005 4:45 pm
Reply with quote

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
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Wed Sep 07, 2005 5:27 pm
Reply with quote

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
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Thu Sep 08, 2005 9:32 am
Reply with quote

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
View user's profile Send private message
kalpeshgala

New User


Joined: 08 Jul 2005
Posts: 4

PostPosted: Thu Sep 08, 2005 10:01 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top