Page 1 of 1

String Line Break

PostPosted: Sat Jun 20, 2009 9:13 am
by insighter
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.

Re: String Line Break

PostPosted: Sat Jun 20, 2009 9:22 am
by dick scherrer
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.

Re: String Line Break

PostPosted: Sun Jun 21, 2009 12:24 am
by insighter
Thanks D.

You brought a light to mi mind. I'll use the INCLUDE technique to achieve what I need.

Re: String Line Break

PostPosted: Sun Jun 21, 2009 12:41 am
by dick scherrer
You're welcome - good luck :)

d