View previous topic :: View next topic
|
Author |
Message |
Hariharan Sukumar
New User
Joined: 14 Mar 2011 Posts: 14 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|