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

How to display a PS file primay and secondary allocation


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 25, 2011 2:50 pm
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: 1742
Location: Tirupur, India

PostPosted: Wed May 25, 2011 2:52 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 25, 2011 3:07 pm
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: 1742
Location: Tirupur, India

PostPosted: Wed May 25, 2011 3:08 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 25, 2011 3:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top