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

What is TYPRUN = F


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mathiprakash

New User


Joined: 29 Apr 2005
Posts: 14
Location: Pune, India.

PostPosted: Wed Aug 31, 2005 7:54 pm
Reply with quote

Could any body explain

TYPRUN = F

What does it mean?

Thanks,
Matty
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Sep 01, 2005 5:51 am
Reply with quote

Hi Matty,

Try this:

click on "manuals" on the top line of this panel.
scroll down to a JCL Ref manual that matches your shops s/w and click
scroll down to the index and click
scroll all the way down to the "T"s and find "typrun" and click
Read

That's what I did.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 01, 2005 6:25 am
Reply with quote

... and, if you search for "TYPRUN=F" on Google, you'll get a few hits that describe the PROC parameter "TYPRUN=F" used with the CA-11 (UCC11) product:

//UCC11 EXEC UCC11RMS,TYPRUN=F

I have no idea what the parameter signifies.
Back to top
View user's profile Send private message
prasanth_thavva

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Fri Sep 02, 2005 2:16 pm
Reply with quote

hi,
plz help me to understand TYPRUN=COPY i.. what it will do after submitting a job.,. icon_question.gif
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Fri Sep 02, 2005 2:31 pm
Reply with quote

Hi Prasanth

Code:
TYPRUN=COPY

Requests that JES2 copy the input job stream, as submitted, directly to a sysout data set and schedule the sysout data set for output processing. The system does not schedule the job for execution. The class of this sysout data set is the same as the message class of the job and is controlled by the JOB MSGCLASS parameter.


I hope it clears your doubt.

Regards
Rupesh
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Tue Sep 06, 2005 12:11 am
Reply with quote

Hi,
The TYPRUN=F statment will delete all the data sets created by the particilar job.
Generally we use this at the starting of the job to delete all the files that are going to create by this job to avoid the JCL error if the file is alredy created and having the DISP paramenter some thing like (NEW,CATLG,..).

It is like below,
//del exec ca11rms,typrun='f'

Thanks
Krishy
Back to top
View user's profile Send private message
jaspal

New User


Joined: 22 May 2007
Posts: 68
Location: mumbai

PostPosted: Thu Feb 19, 2009 12:12 pm
Reply with quote

Hi All,

if we have coded :

//STEP001 EXEC UC11RMS,TYPRUN=P

And your job is calling proc in STEP002 which has 10 steps if your job fails in 5 steps and if you restart the job then it will execute from 6th step.

//STEP001 EXEC UC11RMS,TYPRUN=F

in this schenerio if your job fails at 5 th step and you rerurn the same job then it will execute from top and execute from step 1 to step 10.


Thanks,
Jaspal Singh Virk
919923696840
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu Feb 19, 2009 1:32 pm
Reply with quote

Hi jaspal,
Why should we give TYPRUN=F to execute from step 1 to step 10. what is the use of that TYPRUN=F .
Back to top
View user's profile Send private message
vvrahul

New User


Joined: 18 Oct 2005
Posts: 3
Location: Mumbai, India

PostPosted: Thu Feb 19, 2009 2:56 pm
Reply with quote

Hi,

I checked in the mainframe, but nowhere does it give me the option,
TYPRUN='F'.

This option is used in execution of UCC11RMS like:
//STEP001 EXEC UC11RMS,TYPRUN='F'

Here we are executing the proc called UCC11RMS, and passing the symbolic parameter TYPRUN with value 'F'.

One would have to look into the code of the proc (UCC11RMS) to see how this symbolic parameter (TYPRUN='F') is being used.

Thanks,
Rahul.
Back to top
View user's profile Send private message
jaspal

New User


Joined: 22 May 2007
Posts: 68
Location: mumbai

PostPosted: Thu Feb 19, 2009 7:52 pm
Reply with quote

Hi Anand,

when we do testing of jobs using JOBTRAC mostly we use TYPRUN

if incase any step abends and we have given the TYPRUN=P and we restart the job again then it will execute steps after which it was abended.

Now if i want to run same job from top then i will change TYPRUN=P to TYPRUN=F thenit will execute from top.

If you want to test use below job and code a PROC which should include more then 2 steps and Abend 2nd step of STEP002 of job:

Code:
//JASPAL11 JOB (@,JAS),                                       
//         'TEST TYPRUN’                                           
//         CLASS=A,                                                     
//         MSGCLASS=J,                                                 
//         REGION=0M,                                                   
//*                                                                     
//STEP001   EXEC UCC11RMS,                                             
//           TYPRUN=P                                                   
//*                                                                     
//STEP002    EXEC PROC1234                                             
//*                                                                     
             




Thanks,
Jaspal singh virk
919923696840
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 19, 2009 10:07 pm
Reply with quote

Hello,

Quote:
I checked in the mainframe, but nowhere does it give me the option, TYPRUN='F'.
For my $.02, it was a very poor choice for a symbolic parameter name. . . Far too easily confused with the TYPRUN parameter of the JOB statement. I believe RUNTYPE would have been just as clear and less likely confused with the JOB parameter.
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Mon Feb 23, 2009 9:20 pm
Reply with quote

True.. I'd have gone for RERUN=F(ull) or P(artial) myself, but why go clouding the issue with common sense..

Cheers.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts JOB submitted goes on HOLD even witho... JCL & VSAM 10
No new posts What is the actual difference between... JCL & VSAM 7
No new posts Doubt in TYPRUN parameter JCL & VSAM 6
No new posts Is it possible to execute a job witho... Mainframe Interview Questions 2
No new posts How to add TYPRUN=SCAN to some jobs JCL & VSAM 2
Search our Forums:

Back to Top