Good information, thanks.

//* Peter Ten Eyck
//* Senior Systems Programmer
//* American National
//

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Barry Lichtenstein
Sent: Tuesday, August 20, 2019 3:50 PM
To: [email protected]
Subject: [EXTERNAL]Re: Question about a Program Object's MIGRATABLE attribute

In reply to David and others, a couple of points that might be of interest:

* I confirm that the MIGRATABLE attribute is just as people have suggested, to 
indicate whether a program can be copied between PDS and PDSE, or saved as a 
load module in a PDS when it was able to be saved as a program object in a PDSE 
or UNIX.  All such operations always requires the binder.

* Though there is a bit in the PDS Directory Entry (IHAPDS PDSNMIG), a load 
module cannot have this attribute.  That bit is remapped for a program object, 
in a load module it is part of PDS2RLDS.  Thus you can (for instance) read the 
directory of a PDSE and still determine if the member is "migratable".  A bit 
is also defined in the PMAR (IEWPMARL PMARL_NMIG).

* There is a relationship with the binder COMPAT option, to the extent that the 
binder has automatically determined the COMPAT level.  If the user decides to 
set COMPAT to some not-required higher level (perhaps to exploit some 
non-executable feature like  binder COMPRESSion), the MIGRATABLE option can 
still be on.

* Besides the two macros, AMBLIST also reports on the MIGRATABLE bit. This is 
documented in Diagnosis: Tools and Service Aids, that it will print either 
NON-MIGR or MIGRATE (the explanation of those is no more detailed than the 
macros).

* One of the reasons for setting non-migratable is that the module "text" 
exceeds 16MB. Binder has elected to not enumerate all the possible reasons.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

________________________________

American National has changed its email addresses to 
[email protected]. Please update my email address in your 
contact list, if applicable, at your earliest convenience.

Confidentiality: This transmission, including any attachments, is solely for 
the use of the intended recipient(s). This transmission may contain information 
that is confidential or otherwise protected from disclosure. The use or 
disclosure of the information contained in this transmission, including any 
attachments, for any purpose other than that intended by its transmittal is 
strictly prohibited. Unauthorized interception of this email is a violation of 
federal criminal law. If you are not an intended recipient of this 
transmission, please immediately destroy all copies received and notify the 
sender.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to