Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Want to repro a ps file into an LDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Want to repro a ps file into an LDS
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Sep 27, 2007 7:18 pm    Post subject: Reply to: Want to repro a ps file into an LDS
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

Site Director


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

PostPosted: Thu Sep 27, 2007 8:47 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us