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 

IEWL problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Nov 02, 2004 12:59 pm    Post subject: IEWL problem Reply with quote

Hi all,
First of all, probably, this must have been in JCL forum; but, I am not sure.

Consider the following LINK step. If I submit this job, I get a return code of 12.

Code:

//LINKPROC PROC PGMNME='HUH',                             
//            DEVREGN='DEV'                               
//*                                                       
//LINKEDIT EXEC PGM=IEWL,                                 
//            COND=(4,LT),                                 
//            PARM='XREF,LIST,AMODE(31),RMODE(ANY)'       
//SYSLIB   DD DSN=SYS1.SCEELKED,DISP=SHR                   
//SYSLIN   DD DSN=&SYSUID..&DEVREGN..OBJ(&PGMNME),         
//            DISP=SHR                                     
//SYSLMOD  DD DSN=&SYSUID..&DEVREGN..LOAD(&PGMNME),DISP=SHR
//SYSPRINT DD SYSOUT=*                                     
// PEND                                                   
//*                                                       
//LINKSTEP EXEC LINKPROC                                   


The mesages that I get are:
Code:

IEW2747S D90C ABEND 013-18 OCCURRED WHILE PROCESSING SEQUENTIAL DATA SET WITH DDNAME SYSLIN.
IEW2230S 0414 MODULE HAS NO TEXT.                                                           
IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.                                 


The above messages are perfectly valid. However, what I could not believe is, there is actually a load module in the SYSLMOD dataset with the name HUH!

When I run AMBLIST on it, I get an RC of 8 and the message shown is,
Code:

AMB119I INVALID LOAD MODULE:  NO CESD RECORDS FOUND ,LOAD MODULE MARKED EDITABLE


So, my question is, does IEWL still create a load module when SYSLIN does not point to a dataset? Has someone faced a similar problem? Is there a way to stop the creation of the SYSLMOD member in such cases?

(PS: I will be on a vacation for a week. So, I will not be able to respond until then.)
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Nov 08, 2004 9:34 am    Post subject: Reply with quote

Cogito,

The easiest way to stop creating a execuetable load module from the link step is to add an additional step in there to perform a batch JCL CHECK of the link step. Since you are passing a member name that does not exist , the return code from the JCL CHECK will be 8. So you can skip the link step depending on the return code from the JCL check step.

Hope this helps...

Cheers

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


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Nov 10, 2004 9:21 am    Post subject: Reply with quote

Kolusu,
Avoiding creation of load module is my concern. The COND parameter can definitely take care of the problem. But, that is not my requirement.

I want to know, why does IEWL still create a load module when SYSLIN does not point to a dataset?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics 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