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

FileAid - Increase Variable record length


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Thu Dec 08, 2005 12:58 am
Reply with quote

Hi,
I have a variable block sequential file with record length min 800 - max 1000. file is defined as VB lrecl=1004. I want to edit data through fileaid.

one of the records in the file is 850. i want to add 50 bytes to that and make it as 900. but file aid is not allowing to add those bytes.

how to change a record lengh of a record in variable block seq file.
For maximum length records, it is showing only 1000 bytes not 1004.
i cant see (first 4 char) record length of a record in file aid.

give me your suggestions to update thru fileaid
Back to top
View user's profile Send private message
Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Thu Dec 08, 2005 3:40 am
Reply with quote

Hi Raghunathn

I'm not sure if there is any way in FileAid to edit a record's length for a VB file.

But for the second question you've asked -- the 4 bytes for a VB file is used for indexing and is not available for data. So if a VB record has 504 bytes as record length, it means its max LRECL available for data entry is only 500.

Rgds,
Ramya
Back to top
View user's profile Send private message
myibmid

New User


Joined: 28 Dec 2005
Posts: 2

PostPosted: Wed Dec 28, 2005 4:16 pm
Reply with quote

Hi Raghu,

If you want to edit a VB file, you need to take a repro of VB file to a FB file through IDCAMS and edit that particular record in FB file and do
REPRO with REPLACE option.. into your original VB file.
So now you are able to see 850 bytes in VB file for particular record.

And regarding your second question answer given by RamyaArun is exactly correct...

Thanks,
Reddy....
Back to top
View user's profile Send private message
bandi

New User


Joined: 21 Jul 2005
Posts: 12

PostPosted: Wed Dec 28, 2005 4:29 pm
Reply with quote

In my JCL Exec PGM=FTP , Where exacly it fetch from which load library.
Back to top
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Thu Dec 29, 2005 9:30 pm
Reply with quote

Thanks you reddy

i copied to a fb and copied back. but the record length changed to maximum and end of each record filled with low values x'00'

do you have the repro replace syntax.
Back to top
View user's profile Send private message
myibmid

New User


Joined: 28 Dec 2005
Posts: 2

PostPosted: Wed Jan 04, 2006 1:17 pm
Reply with quote

hi raghu,

Yes we have an option like
REPRO
REPLACE

tHANKS,
rEDDY
Back to top
View user's profile Send private message
praneeth

New User


Joined: 09 Feb 2006
Posts: 1

PostPosted: Thu Feb 09, 2006 2:10 pm
Reply with quote

icon_razz.gif
Back to top
View user's profile Send private message
venkatk

New User


Joined: 30 Dec 2005
Posts: 1

PostPosted: Tue Feb 28, 2006 6:28 pm
Reply with quote

REPRO is a command and we have to specify in IDCAMS is it?
Back to top
View user's profile Send private message
satishsingh

New User


Joined: 01 Jul 2005
Posts: 1
Location: delhi

PostPosted: Fri Apr 21, 2006 2:49 pm
Reply with quote

sir,
kindly help for study material of ims ,if any program of ims then please mail me to undersatnd.
Back to top
View user's profile Send private message
rayslee

New User


Joined: 29 Apr 2006
Posts: 1

PostPosted: Wed Aug 16, 2006 10:48 pm
Reply with quote

Use a copymember in formatted view.
In the formatted view, there will be a field for record length that you can change.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top