Page 1 of 1

Can IEBGENER recognizes INTRDR ?

PostPosted: Thu Oct 03, 2013 1:25 am
by Bhaskar1031
I want to know that IEBGENER recognizes the intrdr(internal reader) in sysout or IEBGENER does not know that interrnal reader in the sysout.

Re: Can IEBGENER recognizes INTRDR ?

PostPosted: Thu Oct 03, 2013 1:30 am
by Akatsukami
It neither knows not cares; that is what JCL is for, to provide the link between the program and the environment.

Re: Can IEBGENER recognizes INTRDR ?

PostPosted: Thu Oct 03, 2013 6:21 am
by steve-myers
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.

Re: Can IEBGENER recognizes INTRDR ?

PostPosted: Thu Oct 03, 2013 9:31 pm
by dick scherrer
Hello and welcome to the forum,

Do you have the info you need or is there still a doubt?