Can IEBGENER recognizes INTRDR ?



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

Can IEBGENER recognizes INTRDR ?

Postby Bhaskar1031 » Thu Oct 03, 2013 1:25 am

I want to know that IEBGENER recognizes the intrdr(internal reader) in sysout or IEBGENER does not know that interrnal reader in the sysout.
Bhaskar1031
 
Posts: 1
Joined: Thu Oct 03, 2013 1:15 am
Has thanked: 0 time
Been thanked: 0 time

Re: Can IEBGENER recognizes INTRDR ?

Postby Akatsukami » Thu Oct 03, 2013 1:30 am

It neither knows not cares; that is what JCL is for, to provide the link between the program and the environment.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Can IEBGENER recognizes INTRDR ?

Postby steve-myers » Thu Oct 03, 2013 6:21 am

Akatsukami is correct. If the SYSUT2 DD statement specifies an internal reader, IEBGENER will operate it as a sequential data set. It is probably a good idea to specify RECFM=F,LRECL=80,BLKSIZE=80. I recall one incident where it behaved strangely when those DCB parameters were not specified discussed on this board.

A properly written program can interact with JESx to obtain the job ID of the submitted job if it detects the data set is an internal reader.

To be honest, I do not know how to detect that the data set is assigned to an internal reader without doing more research than I'm willing to invest in the project at this time.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Can IEBGENER recognizes INTRDR ?

Postby dick scherrer » Thu Oct 03, 2013 9:31 pm

Hello and welcome to the forum,

Do you have the info you need or is there still a doubt?
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


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post