Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 1522
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: 10326
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: 1522
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: 10326
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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us