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 the input data in next line (>80 char) for SYS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Continuing the input data in next line (>80 char) for SYS
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    Post subject: Re: CONTINUATION FOR SYSIN PARAMETERS IN JCL
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

Moderator Team Head


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

PostPosted: Thu Oct 06, 2005 1:57 pm    Post subject: Re: Continuing the input data in next line (>80 char) for
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    Post subject: Re: Continuing the input data in next line (>80 char) for
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

Moderator Team Head


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

PostPosted: Thu Oct 06, 2005 3:29 pm    Post subject: Re: Continuing the input data in next line (>80 char) for
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    Post subject:
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    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 Data replication from multiple Db2 ta... kishpra DB2 1 Mon Mar 27, 2017 9:58 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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