MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reading Member from Dataset with Recordformat = U by PL/1

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Wed Oct 13, 2004 5:29 am    Post subject: Reading Member from Dataset with Recordformat = U by PL/1 Reply with quote

Hi,

I'm looking for the correct syntax, to read an member from an PDS Dataset with recordformat = U. Dataset is allocated like the sample below.

What is the correct PL/1 syntax ?

Thank you.
Code:

General Data,                       ,,Current Allocation,
,Management class . . :,STANDARD,    ,,Allocated cylinders :,1,492
,Storage class  . . . :,BASE    ,    ,,Allocated extents . :,2
,,Volume serial . . . :,J0P966,      ,,Maximum dir. blocks :,NOLIMIT
,,Device type . . . . :,3390    ,    ,,, ,
,Data class . . . . . :,PDSE    ,    ,, ,
,,Organization  . . . :,PO      ,    ,Current Utilization,
,,Record format . . . :,U     ,      ,,Used pages  . . . . :,226,104
,,Record length . . . :,0      ,     ,,% Utilized  . . . . :,84
,,Block size  . . . . :,32760   ,    ,,Number of members . :,695
,,1st extent cylinders:,1079         ,,, ,
,,Secondary cylinders :,50           ,,, ,
,,Data set name type  :,LIBRARY   ,  ,,, ,
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Oct 13, 2004 5:36 am    Post subject: Reply with quote

bauer,

Look up the ENVIROMENT parameter which is used to specify the dataset properties. Check this link for a detailed explanation of the parameter.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/C2714572/8.1.2?DT=20020918091353

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Thu Oct 14, 2004 4:22 am    Post subject: Reply with quote

helps .....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group