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

Problem getting record length of a record in a vb file.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Thu Jul 02, 2020 10:52 pm
Reply with quote

Hi Friends
I need to know the record length of a record in variable record length file when read through cobol program. There are multiple record layouts for this file and by mistake some of the records are written with wrong record length causing length error when accessed from front end. I need to fetch those records and rewrite them with correct layout. But how do I find those records.
The key of the file is
Case-number 9(15).
Case-sub s9(3) comp-3.

Some of the records having case-sub x'053c' are written with wrong record length and I need to correct them.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Jul 02, 2020 11:03 pm
Reply with quote

ibmmainframes.com/about35431.html
ibmmainframes.com/viewtopic.php?t=21278&postdays=0&postorder=asc&start=0

DFSORT way, if interested
ibmmainframes.com/about2365.html
ibmmainframes.com/about36838.html

More to find if you Google it.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 95
Location: India

PostPosted: Mon Jul 06, 2020 12:10 pm
Reply with quote

Thanks Rohit, that is helpful. icon_smile.gif
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
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
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top