Authorisation Code - load Modules



High Level Assembler(HLASM) for MVS & VM & VSE

Authorisation Code - load Modules

Postby jaggz » Fri Aug 03, 2012 10:33 am

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
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: Authorisation Code - load Modules

Postby Robert Sample » Fri Aug 03, 2012 4:58 pm

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Authorisation Code - load Modules

Postby jaggz » Sat Aug 04, 2012 8:33 am

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
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: Authorisation Code - load Modules

Postby steve-myers » Sat Aug 04, 2012 9:21 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post