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
 

 

How to increase the LRECL of existing member?

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

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Fri Feb 22, 2013 10:40 am    Post subject: How to increase the LRECL of existing member?
Reply with quote

Hi,

I have 10 members in one PDS. It has record length of 80. I want to change the record length of only one member of that PDS say from 80 to 200. Kindly let me know using which utility we can acheive this.

If this is a flat file, using IEBGENER, IDCAMS we can do this. But i want to change only one member in that PDS.

Thanks!
Back to top
View user's profile Send private message

bodatrinadh

Active User


Joined: 05 Jan 2007
Posts: 101
Location: chennai (India)

PostPosted: Fri Feb 22, 2013 11:23 am    Post subject: Reply to: How to increase the LRECL of existing member?
Reply with quote

Hi Meenakshi,

Its not possible to increase the record length for a particular member(s) in PDS once the LRECL is defined.

Alternate/Only option is create a PDS with LRECL=200

Thanks
-3nadh
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: Fri Feb 22, 2013 11:32 am    Post subject:
Reply with quote

Hello,

ALL of the members in one pds need to be the same length.
Back to top
View user's profile Send private message
Meenakshi Selvaraj

New User


Joined: 30 Oct 2009
Posts: 36
Location: Chennai

PostPosted: Fri Feb 22, 2013 11:34 am    Post subject: Reply to: How to increase the LRECL of existing member?
Reply with quote

Thanks All.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 22, 2013 1:47 pm    Post subject:
Reply with quote

Is this a serious question from a senior software engineer? I hope the TS is not working at a nuclear plant.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Feb 22, 2013 1:52 pm    Post subject: Reply to: How to increase the LRECL of existing member?
Reply with quote

unfortunately too many times
the questions asked throw very dark shadows on the reliability of the occupation/skills of the TS
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Sat Feb 23, 2013 11:03 pm    Post subject:
Reply with quote

Just to pile on a bit - LRECL is a dataset attribute, and PDS members are not datasets.
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jun 25, 2013 7:51 pm    Post subject: Quick One
Reply with quote

Meenakshi Selvaraj,

There is something you can do however you must then rebuild your PDS to a new library then create that new member.

Merely allocate your new PDS with RECFM=VB along with something like LRECL=256. Copy the old library to the new one and all will be as it was and the new member can be up to 252 bytes. I do it sometimes with SAS code.

r

"Some days peanuts. Some days shells."
--Wise old submariner saying.
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: Tue Jun 25, 2013 8:14 pm    Post subject:
Reply with quote

Hello,

Quote:
There is something you can do however you must then rebuild your PDS to a new library then create that new member.

If a new length is needed for "one" member, changing the length/recfm of the PDS may cause Many abends . . .

Possibly i misunderstand.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Tue Jun 25, 2013 8:24 pm    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

Quote:
There is something you can do however you must then rebuild your PDS to a new library then create that new member.

If a new length is needed for "one" member, changing the length/recfm of the PDS may cause Many abends . . .

Possibly i misunderstand.

Perhaps this is a case of "Kill Edward not to fear is good" icon_biggrin.gif
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jun 25, 2013 8:28 pm    Post subject: RECFM=VB
Reply with quote

dick,

>>If a new length is needed for "one" member, changing the length/recfm of the PDS may cause Many abends . . .

Just once.

>>Possibly i misunderstand.

I think we're talking at cross purposes. Meenakshi claims to need a different LRECL for one member of a PDS with a different LRECL. By merely rebuilding it with a varible blocked PDS then I think his problem will be solved.

Try it. It works. Trust me.

Personally I believe his premise is shaky however this will work. Also of course it depends on the contents of the members. I have a feeling he really needs to have 2 distinct types of libraries.

r

"Trust me Marian."
--Indiana Jones [Harrison Ford] - The Raiders of the Lost Ark
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 645
Location: Pennsylvania

PostPosted: Tue Jun 25, 2013 8:31 pm    Post subject:
Reply with quote

Why not create a second pds with lrecl=200?

Move those members there.

Nice and neat: PDS.LRECL80 and PDS.LRECL200

No question about what is what and what is where.

That would be my solution.
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jun 25, 2013 8:43 pm    Post subject: quick one
Reply with quote

dave,

>>Why not create a second pds with lrecl=200?

It's just one member that he seems to need however by rights programmers do need multiple libraries because those members have different functions - JCL, high-level program code, utilities, load libraries and control cards.

Personally I think he indeed needs a new library or seemingly a sequential file as LRECL=200 seems odd.

r

"Do you believe in magic?"
--John Sebastian
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts z/OS V2R2 Migration Impact on Existin... dexter.mozer All Other Mainframe Topics 4 Mon Feb 29, 2016 6:22 pm


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