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: 7936
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: 10211
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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm


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