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

ISPF Command to check whether Number ON/OFF in PDS or PS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 04, 2009 10:39 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 05, 2009 12:08 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 05, 2009 12:14 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


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 Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top