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

Doubt in TYPRUN parameter


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

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Mon Mar 07, 2011 3:28 pm
Reply with quote

Hi Guys,

1) I want to know that what is the practical use of TYPRUN=COPY parameter in a JOB.

2)When I submit a job with TYPRUN=HOLD, in the spool I can see the job in 'EXECUTING' status and the job never ends. I understand that the job is gone to a HOLD state. I want to know how can I release this job.

thanks.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Mar 07, 2011 3:42 pm
Reply with quote

learn to interpret and report correctly what You see...
a job submitted with TYPRUN=HOLD will show as ( using the SDSF command ST )

Code:
NP   JOBNAME  JobID    Owner    Prty Queue      C  Pos  SAff  ASys Status
     USER0    TSU01573 USER0      15 EXECUTION          SYS1  SYS1
     USER0A   JOB01574 USER0       8 EXECUTION  A                  HOLD


and it means it is in the execution queue
note the difference in the data displayed for a <job> executing and a job in hold

typing an A in the line command field will happily release the job!

but You could have found out by Yourself hitting a few time the PF1 key while in SDSF,
couldn' t You ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Mar 07, 2011 3:53 pm
Reply with quote

There is a link to manuals at the top of the page. CLick on it, find the JCL Language Reference manual, and read up on the TYPRUN parameter for yourself. If you have any questions about TYPRUN=COPY after that, then post your question.
Back to top
View user's profile Send private message
Amb

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Mon Mar 07, 2011 4:05 pm
Reply with quote

Thanks.

I have gone through the manual and I have also submitted a job with TYPRUN=COPY. What I understand is that the job doesnot get submitted but all the JCL statements in the job can be seen in the JESJCLIN statement in SDSF->st.

I wanted to know what is the practical use of this or under what circumstances we would be required to submit a Job with TYPRUN=COPY so that we see all the JCL statements of the Job in the spool.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Mar 07, 2011 4:12 pm
Reply with quote

TYPRUN=COPY is an heritage of when there was ...
no timesharing, no <terminal> printers, no facilities as You are used to now
and somebody wanted to have an hardcopy of the card deck being used for jcl submission

typrun=COPY will not check for jcl errors TESTED just now
it only needs a correct JOB card and will happily print a 80 char card image of al the jcl stream being <submited>
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Mar 07, 2011 11:33 pm
Reply with quote

try to use : TYPRUN=RUNAWAY
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Mar 08, 2011 12:21 am
Reply with quote

PeterHolland wrote:
try to use : TYPRUN=RUNAWAY

If your work station is a Dell Shannon? icon_biggrin.gif
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