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: 2723
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 To pull the file with Date and Time u... TSO/ISPF 16
No new posts regarding COBOL WRITE verb (VB File H... COBOL Programming 6
No new posts COBOL Table data to a flat file with ... COBOL Programming 8
No new posts Write a current record plus previous ... DFSORT/ICETOOL 4
No new posts Compare 2 files replace data in 1st f... DFSORT/ICETOOL 4
Search our Forums:

Back to Top