View previous topic :: View next topic
|
Author |
Message |
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
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 |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
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 |
|
|
myibmid
New User
Joined: 28 Dec 2005 Posts: 2
|
|
|
|
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 |
|
|
bandi
New User
Joined: 21 Jul 2005 Posts: 12
|
|
|
|
In my JCL Exec PGM=FTP , Where exacly it fetch from which load library. |
|
Back to top |
|
|
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
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 |
|
|
myibmid
New User
Joined: 28 Dec 2005 Posts: 2
|
|
|
|
hi raghu,
Yes we have an option like
REPRO
REPLACE
tHANKS,
rEDDY |
|
Back to top |
|
|
praneeth
New User
Joined: 09 Feb 2006 Posts: 1
|
|
Back to top |
|
|
venkatk
New User
Joined: 30 Dec 2005 Posts: 1
|
|
|
|
REPRO is a command and we have to specify in IDCAMS is it? |
|
Back to top |
|
|
satishsingh
New User
Joined: 01 Jul 2005 Posts: 1 Location: delhi
|
|
|
|
sir,
kindly help for study material of ims ,if any program of ims then please mail me to undersatnd. |
|
Back to top |
|
|
rayslee
New User
Joined: 29 Apr 2006 Posts: 1
|
|
|
|
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 |
|
|
|