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: 6967
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: 8054
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: 10255
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 if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am


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