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

Continuing Parm jcl in next line


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

New User


Joined: 14 Mar 2011
Posts: 14
Location: India

PostPosted: Sun Mar 31, 2013 5:37 pm
Reply with quote

Hi,

I'm using PARM in JCL as follows

// PARM='&IC&RAT&REPTDT&USRID&REPTID&SENTTO'

length of the parameters:

IC - 2, RAT - 1, REPTDT - 6, USRID - 7, SENTTO - 50

When I'm passing the value its exceeding the JCL line and throwing CC 0990.

I want to Bend this to next line. Say for example i want to code SENTTO alone in next line.

I had tried the following ways:

1. Initially i passed the value directly

//MAILREPT JOB TIME=NOLIMIT,CLASS=A,REGION=0M,
// MSGLEVEL=(1,1)
// SET P1='04S310313PRTIBHUPGLBP042'
// SET P2='rtgs@sevavikasbank.com'
//MAILREPT EXEC PGM=MAILREPT,PARM='&P1&P2'

Its getting executed successfully. But when i'm giving the variable as follows

// SET P1=&SENTTO
// PARM='&IC&RAT&REPTDT&USRID&REPTID&P1'

The value is getting substituted for P1 and not in PARM as follows

// SET P1='rtgs@sevavikasbank.com'
// PARM='04S310313PRTIBHUPGLBP042'

Can anyone give me the simplest solution for this.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun Mar 31, 2013 9:38 pm
Reply with quote

I would have thought that after 2 years of constantly following topics on the forum that you would know:
a) Nothing is ever thrown on the mainframe: errors are issued/displayed
b) The only time something Bends on the mainframe is when you sit on it: you wrap text or, for JCL and other code, you continue on the next line
c) When you code stuff that is displayed on the screen you should use the code tags

I've never heard a JCL error of CC0990 - it may be somethingf new but in general JCL does not give completeion codes so it is probably the program that is using the parameter. Have you tried looking in the JCL manual for how to continue a parameter onto another line? Or searched the forum?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Sun Mar 31, 2013 10:31 pm
Reply with quote

A step completion code of 990 very likely indicates an ISPF error. As the TS has been careful not to show us the complete JCL, nothing more can be said.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sun Mar 31, 2013 11:04 pm
Reply with quote

www.ibmmainframes.com/viewtopic.php?t=39783&highlight=parm+100
publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.zos.r9.ieab100/jclexs.htm
publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.ieab600/cscont.htm
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top