Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Increase the Maximum Length of LRECL parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Dhineshpondy7

New User


Joined: 07 Aug 2019
Posts: 1
Location: India

PostPosted: Wed Aug 07, 2019 6:23 pm    Post subject: Increase the Maximum Length of LRECL parameter
Reply with quote

maximum length of LRECL parameter is 32760. I want to increase the file length to more than that.. Is it possible to increase the length. If so please suggest your thoughts.
Back to top
View user's profile Send private message

sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 512
Location: Maryland

PostPosted: Wed Aug 07, 2019 6:35 pm    Post subject: Re: Increase the Maximum Length of LRECL parameter
Reply with quote

Dhineshpondy7 wrote:
maximum length of LRECL parameter is 32760. I want to increase the file length to more than that.. Is it possible to increase the length. If so please suggest your thoughts.

The dataset size (or "length") depends on the total number of records (or lines, or rows) written to this dataset. It has nothing to do with the limitations of parameter LRECL

RTFM
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 746
Location: The Universe

PostPosted: Wed Aug 07, 2019 6:48 pm    Post subject:
Reply with quote

No, it is not possible to increase the LRECL parameter beyond 32760. The binary form of the value must fit into a 2 byte number. I do not know why it is limited to 32760 rather than 32767.

As Sergeyken has noted, there is no restriction on the number of records in a data set, but obviously you seem to think you need a longer record.
Back to top
View user's profile Send private message
sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 512
Location: Maryland

PostPosted: Wed Aug 07, 2019 7:09 pm    Post subject:
Reply with quote

steve-myers wrote:
No, it is not possible to increase the LRECL parameter beyond 32760. The binary form of the value must fit into a 2 byte number. I do not know why it is limited to 32760 rather than 32767.

As Sergeyken has noted, there is no restriction on the number of records in a data set, but obviously you seem to think you need a longer record.

I can only add that any requirement to have LRECL>32K usually proves to myself at probability 99.99999% that the initial design is somehow wrong.

Normally/smart designed system would never require such stupid long records.

So, instead of looking for a sophisticated workaround to bypass this limitation I dare to suggest: please, review the original design of your product in order to get rid of stupid requirements.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2213
Location: NY,USA

PostPosted: Wed Aug 07, 2019 8:02 pm    Post subject:
Reply with quote

Quote:
Is it possible to increase the length. If so please suggest your thoughts.
No, for z/OS Data Sets.
Other Options
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 746
Location: The Universe

PostPosted: Fri Aug 09, 2019 5:46 am    Post subject:
Reply with quote

sergeyken wrote:
...
I can only add that any requirement to have LRECL>32K usually proves to myself at probability 99.99999% that the initial design is somehow wrong.

Normally/smart designed system would never require such stupid long records. ...

In general, I agree with sergeyken. However, look at IBM's SMF type 30 record and look at what IBM does to get around the 32K restriction. I suspect Advanced Function Printing in IBM potentially has this problem, though - and I admit I am far from an expert in my knowledge of this data stream - where one page of printed output corresponds to one logical record you potentially have this problem in pages with graphic output.

After some thought I realize the TS is concerned about XML data strings, which can reach improbably long lengths. I believe it was Mr. Sorichetti mentioned, there are methods to deal with these strings, though I also feel these strings run a real danger of getting involved in the buffer overruns that many people regard as dangerous.
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
No new posts position, start pos, length of column... juares castro SYNCSORT 14 Fri Jun 21, 2019 8:47 pm
No new posts File data to symbolic parameter madprasy JCL & VSAM 5 Wed Mar 13, 2019 11:14 am
No new posts LRECL in syncsort frozenblood87 SYNCSORT 4 Tue Feb 19, 2019 6:50 am
This topic is locked: you cannot edit posts or make replies. PARAMETER 'F1' IS UNIDENTIFIED error ... Poha Eater DFSORT/ICETOOL 14 Fri Feb 01, 2019 2:39 pm
No new posts MQ-DATA-LENGTH is ZERO on MQGET Daniel Prosser Java & MQSeries 5 Tue Dec 18, 2018 5:41 pm

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