Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

** ASMA057E Undefined operation code - OBTAIN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:10 pm    Post subject: ** ASMA057E Undefined operation code - OBTAIN
Reply with quote

I am a dummy in assembling language. I just downloaded the source from web, LISTPDS, and tried to compiled it.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 21, 2010 3:17 pm    Post subject:
Reply with quote

Please DO NOT post attachments as not everyone is allowed to open them, thus reducing the number of people available to help you.

Is this related to your post in the JCL forum.
Back to top
View user's profile Send private message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:22 pm    Post subject:
Reply with quote

Yes. This freeware list PDS directory, just like the function performed by PX line command.

But I encountered compilation problem. My installation is z/OS V1.8.

The compilation return code is 8. Here below are the four error messages:

======================================

711 OBTAIN DSCB
** ASMA057E Undefined operation code - OBTAIN

718 OBTAIN DSCB
** ASMA057E Undefined operation code - OBTAIN

R:6 02B14 3806 USING PA,R6
** ASMA303W Multiple address resolutions may result from this USING and the USING on statement number 345


R:6 02EF4 4109 USING PRMLST,R6
** ASMA303W Multiple address resolutions may result from this USING and the on statement number 345

======================================

Thank you for your help.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 21, 2010 3:23 pm    Post subject:
Reply with quote

I guess you miss a macro library in your compile jcl.
Back to top
View user's profile Send private message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:24 pm    Post subject:
Reply with quote

The SYSLIB I used was ....

//SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 21, 2010 3:25 pm    Post subject:
Reply with quote

Try adding SYS1.MODGEN to SYSLIB.
Back to top
View user's profile Send private message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:25 pm    Post subject:
Reply with quote

PeterHolland wrote:
I guess you miss a macro library in your compile jcl.


I also think this is the cause. But which MAC lib should I use ?
Back to top
View user's profile Send private message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:26 pm    Post subject:
Reply with quote

Thanks PeterHolland. I will try at once. Tell you the result later.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 21, 2010 3:26 pm    Post subject:
Reply with quote

sam_ok wrote:
PeterHolland wrote:
I guess you miss a macro library in your compile jcl.


I also think this is the cause. But which MAC lib should I use ?


See my previous post.
Back to top
View user's profile Send private message
sam_ok

New User


Joined: 22 Mar 2007
Posts: 15
Location: Hong Kong

PostPosted: Thu Oct 21, 2010 3:28 pm    Post subject:
Reply with quote

THANK YOU SO MUCH. I CAN DO IT !!!!

GIVE YOU A SWEET KISS...... ^^
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 21, 2010 3:29 pm    Post subject:
Reply with quote

THe OBTAIN macro needs to be resolved from one of the system libraries which needs to be specified in the SYSLIB of the assembly step.

The "USING" warnings won't prevent execution.

Garry.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 21, 2010 3:31 pm    Post subject:
Reply with quote

Quote:

GIVE YOU A SWEET KISS...... ^^


You female??
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us