Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8055
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: 10256
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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us