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

PL/I Equivalent command for NOSSRANGE


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

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Tue Aug 25, 2009 12:25 pm
Reply with quote

Hi,

I want my program to stop checking array index/subscript.

Can some one please let me know the equivalent command for NOSSRANGE in PL/I?

Thanks!
Sati
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Aug 25, 2009 12:33 pm
Reply with quote

Another TS who posts without having RTFM, where the answer to his question could be found in about a minute.

PL/I does not check subscripts, unless you explicitly tell it to do so. FWIW, if your site forces it on (and they can), they will have sound reasons for doing so and you have no reason to stop them.
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Tue Aug 25, 2009 12:43 pm
Reply with quote

Hi Prins,

Thanks for your quick reply.

I Want to tell my program to check Array subscript. Which command i can use to do.

Please let me know.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Aug 25, 2009 12:46 pm
Reply with quote

did You care to RTFM!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Aug 25, 2009 2:14 pm
Reply with quote

why oh why people are so lazy not to look at the manuals and expect other people to do their job...

a quick and dirty google for "PL1 SUBSCRIPTRANGE" gave as first hit
publib.boulder.ibm.com/infocenter/ratdevz/v7r5/index.jsp?topic=/com.ibm.ent.pl1.zos.doc/topics/sdes.htm

as confirmed also by
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ibm3lr60/17.20?ACTION=MATCHES&REQUEST=subscriptrange&TYPE=FUZZY&SHELF=IBMSH360.bks&DT=20071130131006&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

also the TS understanding of subscriptrange is reversed
as can be seen from the posted links
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top