IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 2429
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

Senior Member


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

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

Use [URL] BBCode for Links
Use [URL] BBCode for Links
Use [URL] BBCode for Links
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Need to split single line into two li... DFSORT/ICETOOL 7
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts Print next line strings when a condit... DFSORT/ICETOOL 9
No new posts Submit Print Job For PDS Member With ... TSO/ISPF 17
No new posts New Parameter should be added to the ... CLIST & REXX 30

Back to Top