MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why 2 times dataset names in PKZIP JCL step

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
sairamjaya
Beginner


Joined: 01 Mar 2006
Posts: 21
Topics: 6

PostPosted: Mon Mar 06, 2006 11:22 pm    Post subject: Why 2 times dataset names in PKZIP JCL step Reply with quote

Hi I have a question in the JCL step (PKZIP) discussed in the previous session.

Since we are using ZIPPED_DSN(Dataset to be compressed)...still do we need to give (AAAA.BBBBB.CCCCCCC.DDDDDDD.TXT ) in the last line. I need some help please.
Quote:

//JS400 EXEC PGM=PKZIP,COND=(4,LT),
// REGION=2048K
//*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
-ECHO
-ARCHIVE(AAAA.BBBBB.CCCCCCC.DDDDDDD.ZIP)
-ARCHUNIT(SYSDA)
-TRAN()
-TEXT
-DELIM(LF)
-TERM()
-METHOD(SUPERFAST)
-TEMPSPACE(CYL)
-TEMPUNIT(SYSDA)
-TEMPPRIMARY(300)
-TEMPSECONDARY(50)
-ZIPPED_DSN(AAAA.BBBBB.CCCCCCC.DDDDDDD.TXT,XXXXXXX.TXT)
AAAA.BBBBB.CCCCCCC.DDDDDDD.TXT
-----Last line
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Mar 07, 2006 10:34 am    Post subject: Reply with quote

sairamjaya,

Did you try to look up in the manual posted here?

http://mvsforums.com/helpboards/viewtopic.php?p=28720#28720

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Mar 07, 2006 10:43 am    Post subject: Reply with quote

You must include the last line, since that indicates to PKZIP which dataset(s) are to be included in the zip archive. The
-ZIPPED_DSN statement is entirely optional, although, when used, it is normally specified using a wildcard, i.e.:

-ZIPPED_DSN(*,XXXXXXX.TXT)
Back to top
View user's profile Send private message
sairamjaya
Beginner


Joined: 01 Mar 2006
Posts: 21
Topics: 6

PostPosted: Tue Mar 07, 2006 7:34 pm    Post subject: Thanks a lot. Reply with quote

Thank you very much for your response. Anyways i will go through the manual you refered.

Sairamjaya.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group