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 

how to define alias?

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


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Mar 12, 2006 9:57 pm    Post subject: how to define alias? Reply with quote

I encount a error
Quote:
'EW2456E SYMBOL symbol UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. ']


and

Quote:
'User Action: Make the indicated missing entry available to the Binder or
correct the reference. In order to make the entry
available to the Binder, you can:

-add the member to SYSLIB
-add an alias of that name to an existing member
-INCLUDE a module which contains the missing entry
-provide a LIBRARY control statement to direct the
Binder to a different library during autocall
-correct the source of the INCLUDE error '


To solve this problem I want to add an alias of that name to an existing member ,how to do that? [/code]
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Mon Mar 13, 2006 2:59 am    Post subject: Reply with quote

Hi issac1029,

add

Code:


ALIAS myalias



to your linkage editor sysin.

See manual sc26-4564-01


regrads,
bauer
Back to top
View user's profile Send private message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Mar 13, 2006 3:56 am    Post subject: Reply with quote

Hi bauer,

That means I link-edit with ALIAS myalias for program A,then when I compile program B ,I can '-add an alias of that name to an existing member ',am I right about that?

Thanks
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Mon Mar 13, 2006 6:15 am    Post subject: Reply with quote

I'm not sure I understand your question.

If you compile program A and linkedit it with alias B you will find on your object lib member A with alias name B.

But using alias names means only alias NAMES for your modul. If you like to create alias ENTRYs (two names for same part of objectcode), you have to add this entrys to your code.

bauer
Back to top
View user's profile Send private message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Mar 13, 2006 7:23 am    Post subject: Reply with quote

Thanks bauer~
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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