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: 8165
Location: East Dubuque, Illinois, 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: 10327
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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