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

How to identify if VB flat file is corrupted?


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

New User


Joined: 15 Dec 2004
Posts: 4
Location: india

PostPosted: Thu Jul 17, 2008 10:39 am
Reply with quote

I have a VB file which is corrupted as it is edited without File-aid.

is there any check by which i can identify if file is correpted or not before using in any further process?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 17, 2008 12:03 pm
Reply with quote

sandiagee wrote:
I have a VB file which is corrupted as it is edited without File-aid.

is there any check by which i can identify if file is correpted or not before using in any further process?

Why would it become corrupted if it was not edited by Fileaid ?

What is your definition of corrupt ?

It is the data that usually becomes corrupt, not the file.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 17, 2008 12:34 pm
Reply with quote

expat, i imagine someone edited the file and modified the VLI.
Back to top
View user's profile Send private message
sandiagee

New User


Joined: 15 Dec 2004
Posts: 4
Location: india

PostPosted: Thu Jul 17, 2008 3:20 pm
Reply with quote

data looks fine, but when file is processed by JCLs or abinitio graph it is not providing expected output.

i just want to avoid any abends in process and identify if file is corrupted.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 17, 2008 3:23 pm
Reply with quote

check the PACK (ON/OFF) ispf edit settings

enter PROFILE in the command line

if packed enter PACK OFF and then SAVE ( type the word SAVE in the command line)
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
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