IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Implement pseudo-conversation in PL/I with CICS


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jun 18, 2008 1:11 pm
Reply with quote

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
View user's profile Send private message
ranjini_S01

New User


Joined: 15 Feb 2008
Posts: 12
Location: bangalore

PostPosted: Wed Jun 18, 2008 1:27 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jun 18, 2008 1:33 pm
Reply with quote

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
View user's profile Send private message
ranjini_S01

New User


Joined: 15 Feb 2008
Posts: 12
Location: bangalore

PostPosted: Wed Jun 18, 2008 2:58 pm
Reply with quote

Thanks.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top