Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 6966
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: 7999
Location: Bellevue, IA

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: 10232
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us