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
 

 

PKZIP A basic doubt

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RedDevil711

New User


Joined: 04 Jun 2010
Posts: 25
Location: Pune

PostPosted: Fri Feb 24, 2012 2:58 pm    Post subject: PKZIP A basic doubt
Reply with quote

I was scanning some of our existing code for bugs,
and found something interesting related to PKZIP, just wanted to know how exactly does this work.

Code:
//STEP020 EXEC PGM=PKZIP
//INFILE DD DSN=HLQ.TEST.FLATFILE,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
 -ECHO
 -MEMORY_MODE(SMALL)
 -ARCHIVE(HLQ.TEST.ZIP)
 -METHOD(MAXIMUM)
 -INDD(INFILE)
/*


Will this work ? How does HLQ.TEST.ZIP get created and contain the zipped information from the flat file .
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Fri Feb 24, 2012 3:04 pm    Post subject: Reply to: PKZIP A basic doubt
Reply with quote

Quote:
Will this work ? How does HLQ.TEST.ZIP get created and contain the zipped information from the flat file .
icon_eek.gif

why not look at the PKZIP manual Yourself ?
just using a bit of logic
if the snippet was executed successfully then PKZIP made the dynamic allocation of the output.
otherwise /repeat on look at the PKZIP manual /repeat off
on how to write a proper PKZIP jcl
and by whatever mean was the output allocated it was PKZIP itself that filled it up with the compressed data from the input file
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Doubt on GETMAIN, FREEMAIN behaviour Arunkumar Chandrasekaran CICS 3 Sun Aug 30, 2015 9:22 pm
No new posts PKZIP Query: How to Give Date and Tim... raj_mainframe08 All Other Mainframe Topics 2 Sun Mar 29, 2015 11:05 pm
No new posts Doubt in using command code O Appu IMS DB/DC 4 Tue Jan 13, 2015 3:14 pm


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