Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Doubt in TYPRUN parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Doubt in TYPRUN parameter
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Mar 07, 2011 3:42 pm    Post subject: Reply to: Doubt in TYPRUN parameter
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: 7931
Location: Bellevue, IA

PostPosted: Mon Mar 07, 2011 3:53 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Mar 07, 2011 4:12 pm    Post subject: Reply to: Doubt in TYPRUN parameter
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Mar 07, 2011 11:33 pm    Post subject:
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: 1746
Location: Bloomington, IL

PostPosted: Tue Mar 08, 2011 12:21 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us