View previous topic :: View next topic
|
Author |
Message |
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Hi All,
I am trying to compile a PL/I program, which is calling ASM program, in SCLM. My PL/I componet is UNSUCCESSFUL and I am getting following message:
Code: |
z/OS V1 R10 BINDER 09:43:45 FRIDAY MARCH 26, 2010
BATCH EMULATOR JOB(ABCDERF8) STEP(PLIEX01 ) PGM= IEWBLINK PROCEDURE(BUILD0 )
IEW2278I B352 INVOCATION PARAMETERS - XREF,LIST,RENT,LET,RMODE=ANY,AMODE=31,COMPAT=LKED
IEW2322I 1220 1 INCLUDE SLM75EKQ(PLIEX01)
IEW2456E 9207 SYMBOL ASMPGM UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
|
Could anyone please let me know why this is happening?
Thanks in advance. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Because you don't have an
Code: |
INCLUDE SYSLIB(ASMPGM) |
statement? Or at least some binder INCLUDE statement for the assembler module? |
|
Back to top |
|
|
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Hi Robert,
Thank you very much for you quick reply.
Could you please let me know where I need to code below code.
Code: |
INCLUDE SYSLIB(ASMPGM) |
Thanks you, |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Or maybe all you need is to have the library with the ASMPGM module in the linkedit //SYSLIB concatenation.
Garry. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
In your linkage editor (binder) step, you will need a DD statement
Code: |
//SYSLIB DD DISP=SHR,DSN=???? |
which points to the load library containing your assembler program. The INCLUDE statement will go in the linkage editor (binder) input stream, either before or after your other INCLUDE statement. |
|
Back to top |
|
|
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Hi All,
I don't have any control to modify the compile jcl because I am compiling from SCLM and I check in JESJCL but I don't see any SYSLIB there.
Please advice.
Thanks, |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
In that case, contact your site support group, explain what you are doing, and ask them for assistance in linking the assembler program into your PL/I load module. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
I don't have any control to modify the compile jcl because I am compiling from SCLM and I check in JESJCL but I don't see any SYSLIB there.
|
Then you need help from whoever has access to change the JCL in SCLM. |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
@Robert Sample
If the assembler program is called dynamically, do we need to code INCLUDE SYSLIB(ASMPGM) ? Just asking out of curiosity. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
If the assembler program is called dynamically, do we need to code INCLUDE SYSLIB(ASMPGM) ? Just asking out of curiosity.
|
No, but you need to tell the linkage editor/binderthat it is not to resolve the reference. You can do this by means of the control card
LIBRARY (ASMPGM)
which will result in cond code 4 for the linkedit step.
You will also need the library containnig the ASMPGM to be available to the job at runtime. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
speak to the support in order to verify the SCLM archdefs |
|
Back to top |
|
|
|