IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Continuing the input data in next line (>80 char) for SYS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lokeshpg

New User


Joined: 16 Sep 2005
Posts: 10

PostPosted: Thu Oct 06, 2005 12:29 pm
Reply with quote

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
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Thu Oct 06, 2005 1:18 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Oct 06, 2005 1:57 pm
Reply with quote

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
View user's profile Send private message
lokeshpg

New User


Joined: 16 Sep 2005
Posts: 10

PostPosted: Thu Oct 06, 2005 2:55 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Oct 06, 2005 3:29 pm
Reply with quote

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
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Thu Oct 06, 2005 6:40 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top