View previous topic :: View next topic
|
Author |
Message |
shubh
New User
Joined: 01 Oct 2007 Posts: 16 Location: USA
|
|
|
|
I am new to JCL
there certain standards that are followed in my company to write JCLs
Can someone help me in understanding what these commands mean?
1. #SCC,COND=(0,NE,*)
2. //CKSTEP10 EXEC PGM=FASTLOAD,COND=(0,LT),PARM='TENACITY=4',REGION=2048K
my JCL fails when try to include the commands
#SCC,COND=(0,NE,*) and
PARM='TENACITY=4',REGION=2048K
with the error: failed by interpreter.
How can I resolve this error? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi,
Quote: |
#SCC,COND=(0,NE,*) |
What does that #SCC means??? have you seen any code like that???
Quote: |
// PARM='TENACITY=4', REGION=2048K |
So you are passing the parameter TENACITY to the pgm with the region as 2048!!!
If you can exp me #SCC ??? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
nothing wrong by a FORMAL ( jcl error ) point of view
as far as the program parm and the region are concerned
I guess that the "#SCC" is a commend related to the job scheduler,
the O/P is probably submitting the job without passing thru the scheduler
regards
e.s |
|
Back to top |
|
|
shubh
New User
Joined: 01 Oct 2007 Posts: 16 Location: USA
|
|
|
|
yep
Passing Tenacity to the pgm.
But when i include this, my code fails
Also about the SCC
The code is as below:
Code: |
//FDCKSR04 JOB (1,38238,ITEK),'CKS-APPL',
// USER=FDCKBTH,MSGCLASS=N,
// COND=(0,NE)
//*
#SCC,COND=(0,NE,*)
//*
//*MAIN CLASS=TERA07PU,FAILURE=CANCEL
//*
//JOBLIB DD DSN=SYS3.TERADATA.TERA07.LOADLIB,
// DISP=SHR
|
|
|
Back to top |
|
|
shubh
New User
Joined: 01 Oct 2007 Posts: 16 Location: USA
|
|
|
|
so is it that SCC can be used only when scheduler is used to submit the job?
we cannot use SCC when submitting the job manually by SUB command? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
1) Yes!
2) No! |
|
Back to top |
|
|
|