View previous topic :: View next topic
|
Author |
Message |
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
I don't quite see what you want to achieve. Use of Global Variables is contrary to CICs re-entrancy requirements.
Also, as stated, you need to link the external program into the calling program, so what benefit is there to exposing/concealing procedures?
I have never found a need to use packages, so I'm afraid I can't be of more help.
Regards,
Garry. |
|
Back to top |
|
|
ranjini_S01
New User
Joined: 15 Feb 2008 Posts: 12 Location: bangalore
|
|
|
|
ok.. Thanks.
What is the equivalent of LOW-VALUES in PL/I?
Usually in programs, before sending a BMS map to a terminal, LOW-VALUES are passed to the output fields(Eg: MOVE LOW-VALUES TO MAPO)
What is its equivalent in PL/I? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Tne PL/1 Builtin Function LOW
e.g.
Code: |
DCL LOW BUILTIN;
/* initialise in declare */
DCL MY_FIELD CHAR(10) INIT(LOW(10));
DCL YOUR_FIELD CHAR(5);
/* assignment in code */
YOUR_FIELD = LOW(5);
|
BTW the HIGH builtin function sets all bits in a field 'on', the opposite of LOW.
Regards,
Garry. |
|
Back to top |
|
|
ranjini_S01
New User
Joined: 15 Feb 2008 Posts: 12 Location: bangalore
|
|
|
|
Thanks. |
|
Back to top |
|
|
|