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 members from a dataset with DSORG - 'DA'

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Jul 20, 2005 5:43 am    Post subject: Reading members from a dataset with DSORG - 'DA' Reply with quote

Hi,

In our shop I found that a PDS is defined with Dataset Organization 'DA', Record Format = 'F', LRECL = '0' and BLKSIZE = '27998'.

I am unable to read members from this dataset. I also tried writing a small SORT and forced the LRECL and RECFM of SORTIN to 80 & FB respectively. But didn't work out. It either gave me an INVALID LRECL/BLKSIZE error or ends in a I/O error reading SORTIN.

Code:

//SORTIN   DD  DSN=MY.INPUT.FILE,
//              DISP=SHR,DCB=(LRECL=80,RECFM=FB,BLKSIZE=8000)


Is there any way to convert this dataset to a normal PDS or read the contents from this dataset ?

Thanks & Regards,
Phantom
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Jul 20, 2005 5:55 am    Post subject: Reply with quote

Just figured out from my colleagues here that the dataset belongs to CA-Librarian (Elips).

I searched for the keyword 'Librarian' and found this topic which solved my problem.
http://www.mvsforums.com/helpboards/viewtopic.php?t=2319&highlight=elips+librarian

Thanks,
Phantom
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Jul 20, 2005 11:56 pm    Post subject: Reply with quote

I think, a DA dataset is accessed as DSNTYPE=LIBRARY in the DD statement.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
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 -> Job Control Language(JCL) 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