String Line Break



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

String Line Break

Postby insighter » Sat Jun 20, 2009 9:13 am

Hi,

I'm intending to setup variable input for a given ddname using symbolics, as follows

//SYSIN DD &inpt01


Just wonder if it possible to break lines in a string and perform continuation to achieve it in case I have multiple datasets, for instance:

//  SET inpt01='DISP=SHR,DSN=FILE01' <= Line breaker would go here.
               '//         DISP=SHR,DSN=FILE02'


in order to have

//SYSIN DD DISP=SHR,DSN=FILE01
//         DISP=SHR,DSN=FILE02


Thanks in advance.
insighter
 
Posts: 2
Joined: Sat Jun 20, 2009 8:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: String Line Break

Postby dick scherrer » Sat Jun 20, 2009 9:22 am

Hello and welcome to the forum,

To specify multiple datasets you could specify them at runtime in an override.

You could also place them in a member and INCLUDE them.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: String Line Break

Postby insighter » Sun Jun 21, 2009 12:24 am

Thanks D.

You brought a light to mi mind. I'll use the INCLUDE technique to achieve what I need.
insighter
 
Posts: 2
Joined: Sat Jun 20, 2009 8:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: String Line Break

Postby dick scherrer » Sun Jun 21, 2009 12:41 am

You're welcome - good luck :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post