View previous topic :: View next topic
|
Author |
Message |
lokeshpg
New User
Joined: 16 Sep 2005 Posts: 10
|
|
|
|
HI
WHILE PASSING PARAMETER TO SYSIN IN JCL, LENGTH OF MY PARAMETER EXCEEDS THE MAX LENGTH OF 80. MY PARAMETER LENGTH IS 98. SO CAN ANYBODY TELL ME HOW TO GIVE CONTINUATION FOR THE NEXT LINE OF JCL TO PASS PARAMETER.
REGARDS
LOKESH |
|
Back to top |
|
|
Jerry
New User
Joined: 16 Sep 2005 Posts: 42
|
|
|
|
Hi,
If you just have to continue the sysin parameter to the next line use "-" and continue in the next line as below:
DEFINE CLUSTER (NAME(xxx.yyy.zzz) -
SPEED -
RECORDS(9500 1000) -
SHAREOPTIONS(2 3) -
CISZ(4096) -
RECORDSIZE(4089 4089) -
VOL(FDB021) -
REUSE -
NONINDEXED) -
DATA -
(NAME(xxx.yyy.zzz.DATA))
Hope this helps! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
LOKESH, what does the program you are using expect for a continuation character? Is it a standard utility program or is it your program? Different programs look for different characters. |
|
Back to top |
|
|
lokeshpg
New User
Joined: 16 Sep 2005 Posts: 10
|
|
|
|
HI
I'M TRYING TO INSERT VALUES INTO AN EXISTING TABLE THROUGH MY DB2-COBOL PGM AND PASSING THE VALUES AS PARAMETERS (IN INSTREAM DATA) IN THE RUN JCL(AT SYSIN).THIS IS A USER WRITTEN PGM AND NOT A UTILITY
REGARDS
LOKESH |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Well, you'll have to check with the author of that program and determine what they coded as a continuation delimiter (if they even did).
My suggestion? Change the LRECL of the PDS your job is in from 80 bytes to an LRECL of at least 98 bytes (JCL records can be up to 254 bytes) and put the SYSIN data on a single line. |
|
Back to top |
|
|
Anbudan
New User
Joined: 07 Sep 2005 Posts: 26 Location: Germany
|
|
|
|
Hi lokeshpg
Is ur problem is as below,
//SYSIN DD *
Table values...........98
then the solution is:
//SYSIN DD DISP=SHR,DSN=ABC.TEST.DATA(TABLEVAL)
i.e,
i)create a ps or pds data set
ii)put table values, which u are going to insert, in the dataset
iii)use the line(Green colour) in ur JCL
iv)submit
If you have still problem, feel free to ask
Anbudan |
|
Back to top |
|
|
|