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

Error running JCL: Failed by interpreter


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

New User


Joined: 01 Oct 2007
Posts: 16
Location: USA

PostPosted: Thu Oct 04, 2007 7:16 pm
Reply with quote

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
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Oct 04, 2007 7:22 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Oct 04, 2007 7:26 pm
Reply with quote

See this previous topic.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 04, 2007 7:26 pm
Reply with quote

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
View user's profile Send private message
shubh

New User


Joined: 01 Oct 2007
Posts: 16
Location: USA

PostPosted: Thu Oct 04, 2007 7:28 pm
Reply with quote

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
View user's profile Send private message
shubh

New User


Joined: 01 Oct 2007
Posts: 16
Location: USA

PostPosted: Thu Oct 04, 2007 7:32 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 04, 2007 8:02 pm
Reply with quote

1) Yes!
2) No!
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 Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
Search our Forums:

Back to Top