View previous topic :: View next topic
|
Author |
Message |
sjothimani
New User
Joined: 04 Apr 2006 Posts: 10
|
|
|
|
hi all,
Code: |
//TSOSJOT4 JOB (12345),'JCL',CLASS=E,
// MSGCLASS=X,NOTIFY=&SYSUID,
// MSGLEVEL=(1,1)
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=TSOSJOT.OJT.IEBS,DISP=SHR
//SYSUT2 DD DSN=TSOSJOT.OJT.IEBD,DISP=SHR
//SYSIN DD DUMMY |
this is the code which iam using for IEBGENER if i comment the SYSPRINT statement it throws a JCL error SYSPRINT DD STATEMENT MISSING. let me know whether a sysprint is mandatory for IEBGENER utility.
thanks
ram |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
let me know whether a sysprint is mandatory for IEBGENER utility. |
Its not... But you need to code some thing to guide your O/p of JCL Code.
You can code SYSOUT instead.
//SYSOUT DD SYSOUT=*
Regards,
Priyesh. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy sjothimani,
yes for IEBGENER it is mandatory.
in sysprint there are all messages are written out.
not in sysout....
martin9 |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
yes for IEBGENER it is mandatory. |
Hi Martin,
Just now I ran a job thru fine without SYSPRINT.
Code: |
//S0P0 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=USERID.RECORDS.INPUT,
// DISP=SHR
//SYSUT2 DD DSN=USERID.RECORDS.INPUT.RE,
// DISP=(,CATLG,DELETE),
// RECFM=FB,LRECL=80,
// SPACE=(80,(20,20),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//* |
Pls correct if I m wrong.
Regards,
Priyesh. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I think that individual sites can setup IEBGENER to work either with or without the SYSPRINT and SYSIN DD statements. Here, at this site, it doesn't work without both, but I have also worked at other sites where neither was required. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy priyesh.agrawal,
then it is really customized differently,
but sysprint is the ibm default,
therefore you must have turned this value...
martin9 |
|
Back to top |
|
|
unni_nss
New User
Joined: 20 Sep 2005 Posts: 19
|
|
|
|
hi,
let me share something on this matter.actually IEBGENER is a utility job.So normally there is a conventional rule that the JCL shul have the SYSPRINT step also for connecting with the line printer.So still we are following the same rule.But it may not be mandatory for some installations.
please let me know,if i am wrong.You can take this in the same context as we are putting '//' to start a JCl eventhough this was happened at the time of card readers. |
|
Back to top |
|
|
|