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: 8121
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: 10277
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 Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 11 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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