View previous topic :: View next topic
|
Author |
Message |
songxinqiao
New User
Joined: 25 Nov 2005 Posts: 6 Location: china
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hello,
Do you mean that you need the primary and secondary allocation in a program?
Edited: did not notice previous post. |
|
Back to top |
|
|
songxinqiao
New User
Joined: 25 Nov 2005 Posts: 6 Location: china
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
tell us what kind of research You have done Yourself before asking ?
if You had done it You would not have asked
quite a few topics on the subject here |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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
Hope it helps. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
well I' d rather not involve ISPF
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 |
|
Back to top |
|
|
sridharraj a
New User
Joined: 28 May 2011 Posts: 1 Location: India
|
|
|
|
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 |
|
|
|