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: 4649
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: 4649
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am


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