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

RESTART parameter


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

New User


Joined: 22 Apr 2005
Posts: 3

PostPosted: Sat Apr 23, 2005 10:22 am
Reply with quote

Hi im having problems with the restart parameter,It works fine if RESTART parameter is on a individual line (with out any other job parameters), but it won't work if it is on the same line with any other job parameters. For example

t works fine with:
//MYJOB JOB (P,JJBB,BA1234),
// CLEANSHEET.PROD,
// CLASS=Q,
// MSGLEVEL=(1,1),
// MSGCLASS=L,
// USER=FSBATCH,
// RESTART=MYJOB1.PS040

but it wont work if the job card is:
//MYJOB JOB (P,JJBB,BA1234),
// CLEANSHEET.PROD,
// CLASS=Q,
// MSGLEVEL=(1,1),
// MSGCLASS=L,
// USER=FSBATCH,RESTART=MYJOB1.PS040

any input would be greatly appreciated. icon_biggrin.gif
Back to top
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sun Apr 24, 2005 1:57 am
Reply with quote

What's the error message ur getting??
Back to top
View user's profile Send private message
chynna_v

New User


Joined: 22 Apr 2005
Posts: 3

PostPosted: Tue Apr 26, 2005 10:35 am
Reply with quote

JCP0526E JCL error: 1 Unrecognized JCL statement(s) -- (J)9
Back to top
View user's profile Send private message
vrch

New User


Joined: 21 Mar 2005
Posts: 20

PostPosted: Tue Apr 26, 2005 1:45 pm
Reply with quote

Hello,

It wont show any error whether u code restart parameter in a seperate line or same line.I am not facing any problem when i tested u r problem.
I coded like below then step2 is executed without any problem.

//MYJOBJCL JOB , ,CLASS=F,NOTIFY=&SYSUID,RESTART=STEP2
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=SAMPLE.TEST.FILE2,DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(1,1,5))
//SYSPRINT DD SYSOUT=*
//STEP2 EXEC PGM=IEFBR14
//DD1 DD DSN=SAMPLE.TEST.FILE3,DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(1,1,5))
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY

If there is any problem or query let me know.

Bye
Back to top
View user's profile Send private message
andycool

New User


Joined: 12 Apr 2005
Posts: 64

PostPosted: Tue Apr 26, 2005 5:57 pm
Reply with quote

Are Dude,
Give the space after the "comma"

//MYJOB JOB (P,JJBB,BA1234),
// CLEANSHEET.PROD,
// CLASS=Q,
// MSGLEVEL=(1,1),
// MSGCLASS=L,
// USER=FSBATCH, RESTART=MYJOB1.PS040

This shud solve the purpose.
If not also let me know the solution :D
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 26, 2005 6:10 pm
Reply with quote

chynna_v wrote:
JCP0526E JCL error: 1 Unrecognized JCL statement(s) -- (J)9

chynna_v, a JCL error is either a $HASP106 or IEF453I message. The message you gave, JCP0526E, is something else that does not appear in either IBM's message libraries or in MVS QuickRef. In the future, please provide accurate information so the members of the forum can provide a reasonable and clear response. If possible, could you please provide the proper $HASP* and/or IEF* message?
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