Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between DSNs allocated using IEFBR14 & NWOMC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Sep 14, 2007 6:59 pm    Post subject: Difference between DSNs allocated using IEFBR14 & NWOMC
Reply with quote

Hi,

What is the difference between DSNs allocated using IEFBR14 & NWOMC ?

By difference I mean, when some COBOL program will try to READ an DSN created using IEFBR14, it may abend if that DSN is never written to but this is not the case with NWOMC located DSNs, why so?


P.S.: I think, I don't know whether I put a right question or not and perhaps, may be that's why I don't know the right answer. I've seen below type of steps in many JOBs at my site, I know the purpose but not the significance when I ask myself "what if IEFBR14 was used?"
Code:
//STEP010  EXEC PGM=NWOMC,                         
//             REGION=5120K                         
//STEPLIB  DD  DSN=&HLQ..PROD.PGMLIB,               
//             DISP=SHR                             
//DD01     DD  DSN=&STAT.EP.EP622.SEDUE.RPT&NWIDE, 
//             DISP=(,CATLG,DELETE),               
//             DSORG=PS,                           
//             RECFM=VB,                           
//             LRECL=883,                           
//             BLKSIZE=0,                           
//             DATACLAS=STANDARD,                   
//             UNIT=&SYSDA                         
//DD02     DD  DSN=&STAT.EP.EP663.SCOUTEFF&NWIDE
.
.
.


and so this thread comes up.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 14, 2007 7:29 pm    Post subject:
Reply with quote

Hi Anuj,

Who wrote/maintains NWOMC? It is not an IBM utility.

If your dataset is not sms-managed and you allocated it using IEFBR14, no end-of-file is written which can cause programs to run incorrectly or abend.

If your data set is allocated and has only an EOF, your program will reach AT END on the first read and the abend will be avoided.

If your dataset is sms-managed, the problem goes away.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Sep 14, 2007 8:02 pm    Post subject:
Reply with quote

dick scherrer wrote:
Who wrote/maintains NWOMC? It is not an IBM utility.

I was under the impression that this is an IBM utility & is in use across the shops. Actually, I checked in Source Base Library of my shop, this program was not there, so I thought it's a utility from the IBM side which invokes from the system libraries at run time.

Thanks for the clarification Dick, now I've different approach to look for the same query. By the way, how do we know that particular utility, such as imagined by me, is not from IBM utility list, any link ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 14, 2007 8:25 pm    Post subject:
Reply with quote

Hi Anuj,

Many of the IBM utilities are named IExxxxxx (IEBGENER, IEFBR14, IEHLIST, ETC). There are also ICExxxx, SORT, IDCAMS, etc.

I know of no list that names every IBM utility.

NWOMC might be an alias of some other module. . . Find the executable, browse it, and look for an eye-catcher that may give a clue as to who wrote it. Might it be part of FileAid? Is NWOMC in the steplib you point to or is it found in the link list?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Sep 17, 2007 6:34 pm    Post subject:
Reply with quote

Hi Dick,

Thanks for the suggestion.

NWOMC is not an alias of some other module. It's executable module is available in load library, so we point NWOMC in the steplib.

Still, I'm not able to find out something intelligent yet icon_mad.gif , Will let you know once I got something good. icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Sep 17, 2007 7:25 pm    Post subject:
Reply with quote

Hi Anuj,

Is the executable in one of "your" loadlibs or is it in a "system" lib?

Were you able to look at the executable in hex and learn anything?

Is there someone who has been on the system for a long time that might know? The storage admin folks might know of this module.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 4 Fri Sep 22, 2017 4:56 pm
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 6 Thu May 18, 2017 6:02 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us