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

Simple question:how to code and/or in PL1 program.


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

New User


Joined: 25 Aug 2008
Posts: 25
Location: china

PostPosted: Sat Dec 20, 2008 8:20 pm
Reply with quote

Hi Gent:
This is my frist time to write PL1 program.Does anybody know how to code AND/OR in PL1 program?.I only know '&' stands for AND in PL1.
Thanks very much.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Dec 20, 2008 8:51 pm
Reply with quote

The vbar is the OR ... is that what you want to know? Your question is not at all clear -- if you want to know about a single symbol for AND/OR, this doesn't exist because a conditional is either an AND or an OR -- but never both.
Back to top
View user's profile Send private message
linc

New User


Joined: 25 Aug 2008
Posts: 25
Location: china

PostPosted: Sat Dec 20, 2008 8:55 pm
Reply with quote

thank you.That's what I want.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sun Dec 21, 2008 1:33 am
Reply with quote

A PL/I "DO WHILE" is the same as a COBOL "PERFORM WITH TEST BEFORE" (which is the COBOL default).

HTH....

Regards,

Bill
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top