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: 2803
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 re-format the file using SORT card DFSORT/ICETOOL 7
No new posts Read file names from existing file th... DFSORT/ICETOOL 6
No new posts File Status Error code 39 when Proces... COBOL Programming 2
No new posts create table with more than 32k recor... DB2 1
No new posts Convert PS to TXT file using jcl JCL & VSAM 7
Search our Forums:

Back to Top