#JI with embedded @



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

#JI with embedded @

Postby dylan73ph » Thu Jun 26, 2008 12:19 pm

Hi,

I saw this code in one of the JCL programs we have. Please see below:

#JI,ID=1
// DATE1=¦EZCY@1¦01,
#JI,ID=2
// DATE1=¦EZCY@1¦02


the #JI is like the IF command in JCL and the value of the variable is used as part of the filename of the output file.

Can anyone explain how the system interprets the special characters in the value of DATE1?

Thanks in advance.
dylan73ph
 
Posts: 2
Joined: Thu Jun 26, 2008 12:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: #JI with embedded @

 

Re: #JI with embedded @

Postby dick scherrer » Fri Jun 27, 2008 12:38 am

Hello Dylan and welcome to the forums,

I'd suggest you talk with your scheduling people - those look like control info for a scheduling system.

They are not (strictly speaking) jcl statements.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: #JI with embedded @

Postby dylan73ph » Fri Jun 27, 2008 6:00 am

Hi Dick,

Since I'm new to this command, I assumed that this value will replace DATE1 here:

//DD1 DD DSN=GD.TES32AL.P001.M01.DCIT.D&DATE1

but how will the system treat the @ and | in this #JI command? Can you tell me what will be the whole filename if the ID=1?

#JI,ID=1
// DATE1=¦EZCY@1¦01,
#JI,ID=2
// DATE1=¦EZCY@1¦02

Thanks in advance.
dylan73ph
 
Posts: 2
Joined: Thu Jun 26, 2008 12:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: #JI with embedded @

Postby dick scherrer » Fri Jun 27, 2008 6:07 am

Hello,

Can you tell me what will be the whole filename if the ID=1?
Sorry, but i cannot - i'm not familiar with that syntax and it is not "real" jcl (or we could find it in the jcl manual).

I'm not positive those are scheduling control info, but that is where i would start.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL