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

Do we have 88 level flags in PL/1? How do we use it?


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

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Mon Nov 20, 2006 1:45 pm
Reply with quote

Can someone help me out on how to use 88 level flags in PL/1?
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Mon Nov 20, 2006 6:37 pm
Reply with quote

I've not done PL/I for over ten years, but I do not recall an analog to COBOL's 88 level.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Nov 23, 2006 7:56 pm
Reply with quote

In PL/1 we use the select/when statement.

thing = 1;
select thing;
when (0,1,2)
..........action when thing = 1 or 2 or 3
when (4,5,6)
..........action when thing = 4 or 5 or 6
otherwise
..........action when other value; mostly wrong content
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Wed Dec 06, 2006 12:36 pm
Reply with quote

you can declare flags as follws

dcl eof-file bit (1) init('0') B

as in cobol u cant use set stmt over here .....
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 How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Program level statistics CICS 6
No new posts Feild level validation to test first ... JCL & VSAM 10
Search our Forums:

Back to Top