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
 

 

How to display a PS file primay and secondary allocation

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

New User


Joined: 25 Nov 2005
Posts: 6
Location: china

PostPosted: Wed May 25, 2011 2:40 pm    Post subject: How to display a PS file primay and secondary allocation
Reply with quote

I want to know How to display a PS file primay and secondary allocation ?

I can use listcat entry() to display a vsam file, but not sure how to see the PS file.

Thanks.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed May 25, 2011 2:50 pm    Post subject: Reply to: How to display a PS file primay and secondary allo
Reply with quote

when, and how ???
batch, interactively, once in a while ...

ISPF otion 3.4 and scroll sideways, or enter I in front of the dataset!
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1504
Location: Chennai

PostPosted: Wed May 25, 2011 2:52 pm    Post subject:
Reply with quote

Hello,

Do you mean that you need the primary and secondary allocation in a program?

Edited: did not notice previous post.
Back to top
View user's profile Send private message
songxinqiao

New User


Joined: 25 Nov 2005
Posts: 6
Location: china

PostPosted: Wed May 25, 2011 3:04 pm    Post subject:
Reply with quote

yes, in a program, i need to find the info in my rexx program, so any rexx or tso command to do that ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed May 25, 2011 3:07 pm    Post subject: Reply to: How to display a PS file primay and secondary allo
Reply with quote

tell us what kind of research You have done Yourself before asking ?
if You had done it You would not have asked icon_evil.gif

quite a few topics on the subject here
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1504
Location: Chennai

PostPosted: Wed May 25, 2011 3:08 pm    Post subject:
Reply with quote

Code:
ADDRESS ISPEXEC "DSINFO DATASET("'WELLS.GREEN.DAY'")"

sets several variables with information in the dataset
Code:

 SAY 'PRIMARY SPACE UNITS ' ZDSSPC       
 SAY 'PRIMARY SPACE ALLOCATION ' ZDS1EX 
 SAY 'SECONDARY SPACE UNITS ' ZDS2SPC   
 SAY 'SECONDARY SPACE ALLOCATION ' ZDS2EX


Search the forum for DSINFO for more information.

Edited: Again did not notice previous post icon_biggrin.gif

Hope it helps.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed May 25, 2011 3:17 pm    Post subject: Reply to: How to display a PS file primay and secondary allo
Reply with quote

well I' d rather not involve ISPF icon_biggrin.gif

if the TS had searched using the same words used to post the request he would have the solution already
hint search the forums with
the tool/language REXX
what primary secondary allocation
search argument crossing the box search for all terms
REXX PRIMARY SECONDARY ALLOCATION

looks like around here associative/data mining logic is a bit flaky icon_biggrin.gif
Back to top
View user's profile Send private message
sridharraj a

New User


Joined: 28 May 2011
Posts: 1
Location: India

PostPosted: Sun May 29, 2011 1:19 am    Post subject:
Reply with quote

Try LISTDSI function in REXX ... SYSPRIMARY would give you the primary allocation and SYSSECONDS would give you the secondary allocations.. there are lot more information you can obtain using LISTDSI ...
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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