View previous topic :: View next topic
|
Author |
Message |
kushal Bothra
New User
Joined: 16 Feb 2011 Posts: 38 Location: Gurgoan
|
|
|
|
Hi,
I want to pass parameters to JCL that is longer than 72 char( total that can be accomodated in a line)
the data upto 72 char is being read by the program clearly but the data in second line its not reading properly and giving garbage value for that
The below is senerio.
PARMIN_RECORD,
5 DESC1 CHAR(13),
5 CURR_RUNDATE CHAR(10),
5 COMMA1 CHAR(1),
5 DESC2 CHAR(13),
5 PREV_RUNDATE CHAR(10),
5 COMMA2 CHAR(1),
5 DESC3 CHAR(9),
5 REBALANCE_SW CHAR(1),
5 COMMA3 CHAR(1),
5 DESC4 CHAR(19),
5 CNTRL_OUT_OVERRIDE CHAR(1),
5 FILLER1 CHAR(1)
Is the structure i am reading in through JCL.
--------------------------------------------------------------------
CURR_RUNDATE=2012-05-18,PREV_RUNDATE=2012-05-16,REBALANCE_SW=N,CNTRL_OU
T_OVERRIDE=N.
is I am passing through JCl
CURR_RUNDATE=2012-05-18,PREV_RUNDATE=2012-05-16,REBALANCE_SW=N,CNTRL_OU
is being read clearly but
T_OVERRIDE=N.
is giving garbage value
Please help |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
The JCL Reference describes how to continue a PARM over more than one line. Remember, there is a maximum of 100 characters. |
|
Back to top |
|
|
kushal Bothra
New User
Joined: 16 Feb 2011 Posts: 38 Location: Gurgoan
|
|
|
|
ok I will go and refer the JCL Reference |
|
Back to top |
|
|
kushal Bothra
New User
Joined: 16 Feb 2011 Posts: 38 Location: Gurgoan
|
|
|
|
Hi Bill,
I tried looking for Reference JCL but was not able to find that it will be great if you can help
Thanks !! |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
Back to top |
|
|
kushal Bothra
New User
Joined: 16 Feb 2011 Posts: 38 Location: Gurgoan
|
|
|
|
Thanks Bill its resolved... |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Good to hear it, thanks for letting us know. |
|
Back to top |
|
|
|