Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SYSIN in IEBGENER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SYSIN in IEBGENER
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 16, 2012 3:33 pm    Post subject:
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    Post subject:
Reply with quote

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

http://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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 16, 2012 3:50 pm    Post subject:
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    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7231

PostPosted: Tue Oct 16, 2012 4:19 pm    Post subject: Reply to: SYSIN in IEBGENER
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Tue Oct 16, 2012 5:41 pm    Post subject:
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: 1715
Location: UK

PostPosted: Tue Oct 16, 2012 5:44 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Oct 16, 2012 6:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm
No new posts IEBGENER giving IEB351I I/O ERROR umashankar pathak JCL & VSAM 18 Mon Mar 10, 2014 11:39 pm
No new posts Can't specify a dataset to SORT SYSIN? dejunzhu DFSORT/ICETOOL 5 Tue Nov 05, 2013 1:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us