IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SYSIN in IEBGENER


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Oct 16, 2012 3:27 pm
Reply with quote

Is SYSIN DD DUMMY compulsory in IEBGENER utility?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 16, 2012 3:33 pm
Reply with quote

no
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Tue Oct 16, 2012 3:45 pm
Reply with quote

im not sure about it.. but yes i guess just check this following link.

publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zdatamgmt/zsysprogc_utilities_IEBGENER.htm
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 16, 2012 3:50 pm
Reply with quote

Ezio, compulsory means something like required. Your sample shows an
simple copy and then a DUMMY is enough to accomplish the task. At the moment some editing is needed a SYSIN is needed. The TS didnt supply that kind of information.
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Tue Oct 16, 2012 3:56 pm
Reply with quote

thanks PETER for clarifying this.. i understood wrongly his question

i thought he is asking SYSIN is necessary regardless of DUMMY or command
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Tue Oct 16, 2012 4:17 pm
Reply with quote

Just a clarification..

I want to know Is SYSIN necessary in IEBGENER utility....

Please provide your views on this...
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Oct 16, 2012 4:19 pm
Reply with quote

Take out the SYSIN. Run the step. There's your answer. You can try it several times, just to be sure, but the answer will be the same.

Why are you asking?
Back to top
View user's profile Send private message
jalsaking1

New User


Joined: 25 Jun 2012
Posts: 1
Location: India

PostPosted: Tue Oct 16, 2012 5:08 pm
Reply with quote

Yes, It is mandatory. I just tried to run the utility without SYSIN parameter and got RC12 with below error.

DATA SET UTILITY - GENERATE
IEB316I DDNAME SYSIN CANNOT BE OPENED


Sigh, the utility needs a SYSIN, it can be DUMMY for a straight copy, if not you supply parameters with it. Maybe the TS AND jalsaking1
consult the manual.

Quote:

Is it an interview question, by any chance?


Anuj Dhawan

It looks like that.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 16, 2012 5:41 pm
Reply with quote

Quote:
I want to know Is SYSIN necessary in IEBGENER utility....

Please provide your views on this...
There are no "views" or "opinions" on this -- either IEBGENER requires the SYSIN DD statement or it does not; this is called a FACT. And the fact is, IEBGENER will not execute any copy if the SYSIN DD statement is missing -- as was mentioned, it will set return code 12 and stop processing.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Oct 16, 2012 5:44 pm
Reply with quote

The section of the manual that deals with IEBGENER, or any other utility for that matter, explains what JCL is required and when.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Oct 16, 2012 6:21 pm
Reply with quote

abhay pratap singh wrote:
I want to know Is SYSIN necessary in IEBGENER utility....
I also share the same thoughts as of Bill - why do you ask this question?

The basic IEBGENER JCL is:
Code:
//JS10    EXEC PGM=IEBGENER,REGION=1024K                               
//SYSPRINT  DD SYSOUT=*                           Messages             
//SYSUT1    DD DSN=...,DISP=...                   Sequential Input File
//SYSUT2    DD DSN=...,DISP=...                   Output File         
//SYSIN     DD *                                  Control Statements   
 control statements...                                                 
/*                                                                     

SYSIN is needed for your control statements. You just don't provide DUMMY on SYSIN, there are many other control statements which can be used. Well, 'gain your question is confusing.

Is it an interview question, by any chance?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts concatenate sysin to dsn JCL & VSAM 7
No new posts IEBGENER is not Creating Member in PD... JCL & VSAM 7
No new posts IEBGENER to copy from FB to VB and re... All Other Mainframe Topics 3
Search our Forums:

Back to Top