IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Properties of a LOADLIB member - TTR, AC, AM, RM, Attribute


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shanbalasay

New User


Joined: 22 May 2007
Posts: 19
Location: Belfast, UK

PostPosted: Tue May 12, 2009 3:20 pm
Reply with quote

Using the 3.4 Utility, when we view the members of a LOADLIB PDS, below are the properties that are displayed for each member. They have the values as shown below them.

Code:
Prompt |Alias-of | ---Size---- | -- TTR-- |  AC  |  AM   |  RM  | Attributes |  SSI
___________________________________________________________________________
----------|----------| 00002778 | 003815  |  00   |   31  |  ANY |   RN RU  |


But what do they all mean? I understand Size which would be the size of the LOADLIB member in Bytes. What does the other parameters mean?

I'd appreciate if anyone could help.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 4:53 pm
Reply with quote

TTR - relative track address
AC - authorization code
AM - addressing mode
RM - residence mode
RN RU - rent reus (but don't quote me on that)
SSI - system status index
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 12, 2009 8:59 pm
Reply with quote

Hello,

When you see a loadlib member list, press F1 (maybe a couple of times) and the following (and more) will be displayed on the terminal:
Code:

ISPF displays the following statistics when a load module member list id   
displayed:                                                                 
                                                                           
  Alias-of ....... Name of the member of which this member is an alias     
  Size ........... Size of the member, in hexidecimal.                     
  TTR ............ Relative block address                                 
  AC ............. Authorization code, in hexadecimal                     
  AM ............. Addressing mode                                         
  RM ............. Residency mode                                         
  Attributes ..... One or more of the following:                           
    NX ............. Not executable                                       
    OL ............. Can be loaded only                                   
    OV ............. In overlay structure                                 
    RF ............. Refreshable                                           
    RN ............. Reentrant                                             
    RU ............. Reusable                                             
    TS ............. Module to be tested                                   
  SSI ............ System Status Index                                     
                                                                           
Back to top
View user's profile Send private message
shanbalasay

New User


Joined: 22 May 2007
Posts: 19
Location: Belfast, UK

PostPosted: Tue May 12, 2009 9:25 pm
Reply with quote

Thanks very much to Robert and Dick.

The reason why I had asked this question is that one of the users had complained that the values for AC & Atrributes had changed from 00 to 01 and None to RU respectively for the Assembler LOADLIB members.

I later found that it has got to do with the default settings in the Assembler Compiler/Link Editor. We had been passing AC=1, REUS as default options to the Assembler Link Editor.

It worked fine after I removed these default options

Thanks to you guys. You were always helpful.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 9:28 pm
Reply with quote

The AC=1 to AC=0 probably had a lot to do with the successful change. AC=1 is used only for authorized programs, which generally require special authorization to create, and must be written following certain standards or problems can ensue. Why would a default be set to AC=1 anyway?
Back to top
View user's profile Send private message
jothibso

New User


Joined: 03 Sep 2009
Posts: 18
Location: chennai

PostPosted: Thu Oct 07, 2010 8:05 pm
Reply with quote

I have a loadlib B which is Alias-of loadlib A.

Does this mean loadlib B has the same load as loadlib A. Both the loadsizes match.

Can anyone explain the benefit of Alias-of
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 07, 2010 8:29 pm
Reply with quote

Aliases are described in the MVS Program Management manual in the MVS bookshelf. An alias establishes a different name for a load module. This can be useful when the program may be called by different names. One example would be a common routine for handling dates that was called by the name DATEPROC in one system and DATEPR in another system. Rather than changing the code in one system to match the other name, you could establish an alias so both names can be used. Some vendor programs can be called by different names and use aliases to reference the common code.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Oct 07, 2010 10:28 pm
Reply with quote

A seriously non-standard use of alias: my shop considers bytes 6-8 of the load module's name to be the version number. To avoid having to find and change all of the JCL using a particular load module whenever a new version is promoted to production, a five-character alias is created for the current version; thus, whether current production is PQRSTA00 or PQRSTZ99, the JCL can continue to read PGM=PQRST.

(Do not try this at home, or anywhere else for that matter.)
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 07, 2010 10:41 pm
Reply with quote

Akatsukami, my brain hurts now. Thanks.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Oct 07, 2010 11:00 pm
Reply with quote

Well, I had a dentist's appointment this morning, so I want everyone to be in at least as much pain as I am icon_biggrin.gif
Back to top
View user's profile Send private message
jothibso

New User


Joined: 03 Sep 2009
Posts: 18
Location: chennai

PostPosted: Fri Oct 08, 2010 9:28 am
Reply with quote

Thanks for the explanation ......
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
Search our Forums:

Back to Top