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

How to migrate files with com-3 files to net express cobol


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rahul.kpatil

New User


Joined: 30 Oct 2006
Posts: 1

PostPosted: Tue Jun 02, 2009 4:34 pm
Reply with quote

Hi,
We have a file on mainframe which has comp-3 values. We have to use that file in microfocus cobol program(net express). Can anybody tell me the converison steps that needs to be performed on this file?
Or anybody has any info about Net express -> Tools -> Data tools -> Convert.

Thanks.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 02, 2009 4:46 pm
Reply with quote

You have two routes you can take:
(1) unpack the packed decimal fields into DISPLAY fields, then transfer the file as text, or
(2) transfer the file as binary and use it in Net Express as an EBCDIC file.

#1 can be handled by your sort product or by writing a small program to do the conversion.

#2 assumes that Net Express can handle EBCDIC files -- which I do not know since I've never used the product -- and that your files are fixed length, not variable length (which complicates things).
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top