Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ISPF Command to check whether Number ON/OFF in PDS or PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
suma_infy

New User


Joined: 03 Oct 2008
Posts: 25
Location: chennai

PostPosted: Thu Jun 04, 2009 9:28 pm    Post subject: ISPF Command to check whether Number ON/OFF in PDS or PS
Reply with quote

Is there any command to check whether number mode is ON/OFF in any PDS or PS dataset?

I have used a UNNUM command in my ISPF code. if the Number mode is OFF, I get an error. Thats why before issuing an UNNUM command I want to make sure whether Number mode is ON or OFF.

Suma
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jun 04, 2009 9:45 pm    Post subject:
Reply with quote

....deleted by dbz...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 04, 2009 10:39 pm    Post subject:
Reply with quote

PROFILE will let you know.
Back to top
View user's profile Send private message
suma_infy

New User


Joined: 03 Oct 2008
Posts: 25
Location: chennai

PostPosted: Fri Jun 05, 2009 8:12 am    Post subject: Reply to: ISPF Command to check whether Number ON/OFF in PDS
Reply with quote

yes.. Profile command will display number mode ON/OFF. But i want to extract those details in the REXX program. I'm new to REXX... if you could suggest any method to parse that number mode details from the PROF command will be helpfull to me...

Thanks for your reply....
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Jun 05, 2009 12:08 pm    Post subject: Reply to: ISPF Command to check whether Number ON/OFF in PDS
Reply with quote

did You look at the manual yet?

here is a hint ( check the manual anway)
Code:
ISREDIT (NUM) = NUMBER
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 05, 2009 12:14 pm    Post subject:
Reply with quote

For things like that I issue a RENUM which ensures numbering is on without errors, and then UNNUMB
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us