MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IEB316I DDNAME SYSIN CANNOT BE OPENED

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Wed Feb 01, 2006 2:57 pm    Post subject: IEB316I DDNAME SYSIN CANNOT BE OPENED Reply with quote

Since migrating some OS maintenance into production I'm receiving the above message on several jobs which execute IEBGENER. The jobs in question do not specify a SYSIN dataset. A SYSIN DD DUMMY statement resolves the issue simply enough. However, going through our entire production JCL library to find all IEBGENER jobs which lack a SYSIN statement is not exactly desirable.

These jobs ran just fine prior to the migration without the SYSIN allocation. None of the maintenance affected IEBGENER directly, so it's not a case of a PE fix. My suspicion is that when we cloned the target resvols from the test LPAR (where maintenance was applied) to the production LPAR, some sort of IEBGENER customization was lost. All I can find in the utilities manual are vague references to SVC 99 performing dynamic file allocations, but I haven't seen any evidence of an SVC being called during execution of our past successful jobs, nor can I see any evidence of a SYSIN dataset being allocated, dynamically or otherwise.

Anyone have any idea of what kind of customization I'm talking about, and where to start looking?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Feb 01, 2006 3:10 pm    Post subject: Reply with quote

CaptObvious,

I think JES has an option of putting SYSIN DD automatically if it is missing from the JCL

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Wed Feb 01, 2006 3:44 pm    Post subject: Reply with quote

But if JES2 were allocating it, I should have expected to see a message like this:

IEF237I JES2 ALLOCATED TO SYSIN

There are no allocations for a SYSIN dataset during previous successful runs.

Compare the allocations with a recent failure:

IEF236I ALLOC. FOR IDXTXPRT FICHE1 DLI
IEF237I JES2 ALLOCATED TO SYSUT2
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I 200D ALLOCATED TO SYSUT1
IEC130I SYSIN DD STATEMENT MISSING

With those from a previous success:

IEF236I ALLOC. FOR IDXTXPRT FICHE1 DLI
IEF237I JES2 ALLOCATED TO SYSUT2
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I 200D ALLOCATED TO SYSUT1
Back to top
View user's profile Send private message
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Wed Feb 01, 2006 3:48 pm    Post subject: Reply with quote

And on further review, JES2 provides a SYSIN statement for catalogued procedures. These jobs aren't calling any procs.
Back to top
View user's profile Send private message
German Castillo
Beginner


Joined: 23 Dec 2005
Posts: 83
Topics: 2
Location: Caracas, Venezuela

PostPosted: Wed Feb 01, 2006 4:01 pm    Post subject: Reply with quote

I know, It is not a clean solution, but you may consider using a SMF exit to do a dynamic allocation?
_________________
Best wishes,

German Castillo
Back to top
View user's profile Send private message
German Castillo
Beginner


Joined: 23 Dec 2005
Posts: 83
Topics: 2
Location: Caracas, Venezuela

PostPosted: Wed Feb 01, 2006 4:03 pm    Post subject: Reply with quote

Or maybe the open svc preallocation exit(?)
_________________
Best wishes,

German Castillo
Back to top
View user's profile Send private message
bablack
Beginner


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Wed Feb 01, 2006 4:49 pm    Post subject: Reply with quote

To the best of my knowledge, IEBGENER has always required a SYSIN DD statement, at least a DUMMY. I just tried it on z/OS 1.4 and 1.7 and got the same errors you quoted.

Is it possible that you used to have some JCL scan exit that added a SYSIN DD DUMMY to steps that had none?

Another possibility: perhaps you used to have a IEBGENER-replacement from some software vendor (I think Software Engineering of America has one) and it didn't need a SYSIN. But whatever you changed has deactivated that replacement so you are now getting native IEBGENER. In the output from a job that used to work, get you get IEB messages or something else?

BTW, JES will add a SYSIN DD * if it encounters non-JCL statements without a preceding DD * (or DD DATA) but it doesn't add SYSIN to a step consisting only of valid JCL statements.[/quote]
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CaptObvious
Beginner


Joined: 01 Feb 2006
Posts: 19
Topics: 1

PostPosted: Wed Feb 01, 2006 4:50 pm    Post subject: Reply with quote

It looks like I've found the solution. The offending change was in DFSORT. There's a usermod which adds IEBGENER as an alias to ICEGENER, and what probably happened is the admin before me installed the usermod to production, but not test. Now I need an IPL with CLPA to make the change official.
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Wed Feb 01, 2006 6:12 pm    Post subject: Reply with quote

Yes, it's true that DFSORT's ICEGENER does not require a SYSIN DD statement. And to use ICEGENER when you specify PGM=IEBGENER, you have to set up ICEGENER as an automatic replacement for IEBGENER.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group