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

Data compression in COBOL


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

New User


Joined: 27 Jun 2009
Posts: 4
Location: Mem Tn

PostPosted: Tue Jun 30, 2009 7:35 pm
Reply with quote

We have the need to write a COBOL routine that will convert EBCDIC data to ASCII and compress the ASCII according to Huffman (LHR) compression rules.
I can convert EBCDIC to ASCII, but I am having problems finding compression utilities that I can call from a cobol program.

The conversion and compression needs to accomodate batch andn on-line.

Thanks for any help or direction.
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 30, 2009 7:47 pm
Reply with quote

Contact Data 21 about their ZIP/390 product. EBCDIC to ASCII conversion can be done in COBOL, then use ZIP/390, which can be called from batch and online COBOL programs.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 30, 2009 8:05 pm
Reply with quote

if You search the net You will find many working compression decompression routines written in C

You should not have any problem in calling a C subroutine from a COBOL program
as usual all depends on the cobol and LE levels You are working with

every is explained in the interlanguage communication chapters of the manuals

note. You might need to work out with Your organization legal departement
about understanding all the intricacies of open source licensing
and product usage
Back to top
View user's profile Send private message
Ray Smith

New User


Joined: 27 Jun 2009
Posts: 4
Location: Mem Tn

PostPosted: Fri Jul 03, 2009 12:15 am
Reply with quote

Thanks for taking the time to provide the info. I appreciate it and will search for C routines and look into Data 21 zip/390
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 Store the data for fixed length COBOL Programming 1
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 COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top