Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Continuing Parm jcl in next line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Continuing Parm jcl in next line
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: 1826
Location: UK

PostPosted: Sun Mar 31, 2013 9:38 pm    Post subject:
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: 1771
Location: Bloomington, IL

PostPosted: Sun Mar 31, 2013 10:31 pm    Post subject:
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: 6258
Location: Mumbai, India

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

http://www.ibmmainframes.com/viewtopic.php?t=39783&highlight=parm+100
http://publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.zos.r9.ieab100/jclexs.htm
http://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us