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

Want to repro a ps file into an LDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
main_ani_frame

New User


Joined: 10 Aug 2007
Posts: 6
Location: Kolkata, India

PostPosted: Thu Sep 27, 2007 6:53 pm
Reply with quote

Hi all,

I want to repro a ps file into an LDS. However, since I cannot use RECORDSIZE as this cannot be coded for a LDS. The ps file has the following specification:

VOLUME=<I cannot tell you that as it is classified
information of my company>

DSORG=PS

RECFM=FB

LRECL=80

BLKSIZE=27920

SPACE=(TRK,(1,2))


If I do not specify RECORDSIZE during the LDS definition, it results in recordsize being 0. In order to confirm that, I created a PS file which had LRECL=80 and REPROed it. It got in the LDS.

I want to know how to specify the recordsize for an LDS.

I hope I made myself clear.... Thanks for reading my question. Hope you can help me soon.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Sep 27, 2007 7:18 pm
Reply with quote

Quote:
A linear data set is a VSAM data set with a control interval size of 4096 bytes to 32,768 bytes in increments of 4096 bytes. An LDS has no imbedded control information in its CI, that is, no record definition fields (RDFs) and no control interval definition fields (CIDFs). Therefore, all LDS bytes are data bytes. Logical records must be blocked and deblocked by the application program—but logical records do not exist from the point of view of VSAM.


regards
e.s
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 27, 2007 8:47 pm
Reply with quote

Hello,

Quote:
I want to repro a ps file into an LDS.
For what purpose?

If this is just an experiment, i suppose it won't hurt anything. If this is for some production use, i'd suggest making a different plan. . . FWIW.
Back to top
View user's profile Send private message
main_ani_frame

New User


Joined: 10 Aug 2007
Posts: 6
Location: Kolkata, India

PostPosted: Mon Oct 01, 2007 3:05 pm
Reply with quote

Thanks for the replies. I made a wrong statement.

Wrong :

If I do not specify RECORDSIZE during the LDS definition, it results in recordsize being 0. In order to confirm that, I created a PS file which had LRECL=80 and REPROed it. It got in the LDS.

Right:

If I do not specify RECORDSIZE during the LDS definition, it results in recordsize being 0. In order to confirm that, I created a PS file which had LRECL=0 and REPROed it. It got in the LDS.

Yes, it is just for experimentation. I wanted to get my concept straight. Thanks again for the replies.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top