MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Details of PLIXOPT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
arnabis2good
Beginner


Joined: 01 Aug 2005
Posts: 1
Topics: 1

PostPosted: Wed Mar 15, 2006 4:48 am    Post subject: Details of PLIXOPT Reply with quote

Hi,
Can anybody please explain the option PLIXOPT used in PL/1 codes. I know that it is used for setting run-time options. But I want to know that in details. I also want to know what all other options can be used to pass in PLIXOPT.

Regards,
Arnab.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Mar 15, 2006 8:05 am    Post subject: Reply with quote

arnabis2good,

The PLIXOPT variable can be used to specify storage management options and overrides to the default run-time options which have been established for your installation.
PLIXOPT is an external static varying character string. It should contain a list (separated by either blanks or commas) of storage and run-time options to be overridden.

An example of a PLIXOPT declaration is

Code:

 DECLARE  PLIXOPT  CHAR(250) VARYING EXTERNAL
                             INIT('ISA(20K), REPORT');


to request an Initial Storage Area of 20K for Automatic Storage Variables and a Storage Management Report to analyze the use of the ISA and other execution time storage areas. The procedure coded with OPTIONS(MAIN) is the appropriate place to declare PLIXOPT.

Run-time options can be specified in a PL/I source application by means of the following declaration:
Code:

DCL PLIXOPT CHAR(length) VAR INIT('string')
                           STATIC EXTERNAL;


where string is a list of options separated by commas or blanks, and length is a constant equal to or greater than the length of string. Run-time options in PLIXOPT are parsed by the compiler. If more than one external procedure in a job declares PLIXOPT as STATIC EXTERNAL, only the first link-edited string is available at run time.

If the PLIXOPT string is specified in an OS PL/I main procedure, the options in the string are processed as if specified in the CEEUOPT CSECT. However, mixing a user-provided CEEUOPT with PLIXOPT is not recommended.

Each time a PL/I application runs, the default run-time options established at installation time apply unless overridden by a PLIXOPT string in the source program or in the PARM parameter of the EXEC statement. Options specified in the PARM parameter override those specified in the PLIXOPT string.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group