Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Data compression in COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Data compression in COBOL
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: 8280
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 30, 2009 7:47 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Tue Jun 30, 2009 8:05 pm    Post subject: Reply to: Data compression in COBOL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to display offset thru cobol prog... tvinodkumar7 CICS 2 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us