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: 10211
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: 1459
Location: Azeroth

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: 10211
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: 1459
Location: Azeroth

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: 10211
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
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


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