Page 1 of 1

Authorisation Code - load Modules

PostPosted: Fri Aug 03, 2012 10:33 am
by jaggz
Hi,

Whenever we compile a Source code(Assembler or Cobol) the resultant Load Module stays in a PDS member. I was Curious to know the significance of letter "AC". Sometimes the AC has a value of "00" and "01". When We set some Authorization code then why do we Put some of the load Modules in APF list ?

Could someone please enlighten me the significance of authorization Code ?


Jaggz

Re: Authorisation Code - load Modules

PostPosted: Fri Aug 03, 2012 4:58 pm
by Robert Sample
A non-zero authorization code indicates that the program can use restricted system services and resources.

However, unless the program is placed in an APF-authorized library, any attempt to use restricted system services and resources will be failed.

Re: Authorisation Code - load Modules

PostPosted: Sat Aug 04, 2012 8:33 am
by jaggz
Hi Robert,

Please correct me if I am wrong I guess APF goes well when our Program Key is (0-7). Might be when it is more of System rather than Application.

Jaggz

Re: Authorisation Code - load Modules

PostPosted: Sat Aug 04, 2012 9:21 am
by steve-myers
jaggz wrote:Hi Robert,

Please correct me if I am wrong I guess APF goes well when our Program Key is (0-7). Might be when it is more of System rather than Application.

Jaggz
Services running in keys 0 through 7 ("system keys") are automatically authorized. Getting user programs to run in a "system key," though, is not easy. Most user programs run in key 8.