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 

unable to link edit failing with RC 8

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Sep 02, 2010 3:32 am    Post subject: unable to link edit failing with RC 8 Reply with quote

Members,

I am trying to compile and link edit a COBOL program and I am failing in the link edit step.
Code:

//STEP020  EXEC PGM=IEWL,COND=(8,LT,STEP010)                           
//SYSLIB   DD  DSNAME=SYS1.LINKLIB,DISP=SHR                             
//         DD  DSNAME=SYS1.SCEERUN,DISP=SHR                             
//SYSLIN   DD  DSNAME=&&LOADSET,DISP=(OLD,DELETE)                       
//SYSLMOD  DD  DSNAME=TEST.LOADLIB(TESTPGM),DISP=SHR                 
//SYSPRINT DD  SYSOUT=*

When I see the SYSPRINT messages :
Code:

z/OS V1 R11 BINDER     04:18:20 THURSDAY SEPTEMBER  2, 2010                     
BATCH EMULATOR  JOB(TESTRUN1) STEP(STEP020 ) PGM= IEWL                         
IEW2456E 9207 SYMBOL IGZCBSO UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL CEESTART UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL CEEBETBL UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL CEESG005 UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.

Seems that the members are not present in none of the SYSLIB datasets contatinated. There is one more dataset in my shop SYS1.SCEELKED which I have concatinated and I get RACF dataset error as I do not have access to the SYS1.SCEELKED. If I am given access and I am assuming that the necessary members are found in the datset,then my link edit step would work is what I am assuming. Is there any way without requesting access to the dataset the link edit step can run fine. I am not sure of this , can anybody help me. Is there any other dataset I should look for the members which were not able to be resolved.
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Sep 02, 2010 7:53 am    Post subject: Reply with quote

First thing which come to mind is - why don't you contact your site-support group. Such JCLs (processes) are specific to shops and must not be picked up from some on-line-reference.

Second, is this first time you compiled some program with this?

From manuals:
Quote:
IEW2456E SYMBOL symbol UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.

Explanation: The 'symbol' displayed is not a member name in SYSLIB or in the designated call library, or errors were encountered when attempting to include the module. The symbol remains unresolved.

System Action: Processing continues.

User Response: Correct the reference or make the missing entry available to the Binder by (1) adding the member to SYSLIB, (2) adding an alias of that name to an existing member, (3) INCLUDEing a module which contains the missing entry point, (4) providing a LIBRARY control statement to direct the Binder to a different library during autocall processing, or (5) correct the source of the INCLUDE error.

Correct the symbol reference in the source program or make the missing entry available to the Binder. Making the entry available can include any of the following:

1. Adding the name as an alias or member to in SYSLIB.
2. Providing an AUTOCALL control statement pointing to a library that can resolve the name.
3. INCLUDEing a module that contains the missing entry point
4. Providing a LIBRARY control statement to direct the Binder to an additional library during final autocall processing.
5. Correcting an existing INCLUDE, AUTOCALL, or LIBRARY control statement.
6. If you are driving the binder from some other program, such as SMP/E or c89, you might need to correct or extend the library specifications you are providing to that program. If such a program generates AUTOCALL statements, they are applied before final autocall processing, and are not used recursively unless the library names are repeated.

_________________
Regards,
Anuj


Last edited by Anuj Dhawan on Fri Sep 03, 2010 4:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Sep 02, 2010 7:58 am    Post subject: Reply with quote

One other reference, look at examples, such as figure 12. Though I still don't advocate of using the link-edit-JCL of individual' choice. There should already be one such JCL at your shop.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Sep 02, 2010 10:08 am    Post subject: Reply with quote

yadav2005,

Try CEE.SCEELKED for SYSLIB

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu Sep 02, 2010 9:51 pm    Post subject: Reply with quote

Quote:
I am trying to compile and link edit a COBOL program and I am failing in the link edit step.
Is there some valid reason you are not using the standard compile/link process Sad

If you use the standard compile process, it will probably work. . .
_________________
All the best,

di
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 -> Application Programming 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