View previous topic :: View next topic |
Author |
Message |
sairamjaya Beginner
Joined: 01 Mar 2006 Posts: 21 Topics: 6
|
Posted: Mon Mar 06, 2006 11:22 pm Post subject: Why 2 times dataset names in PKZIP JCL step |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Mar 07, 2006 10:43 am Post subject: |
|
|
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 |
|
 |
sairamjaya Beginner
Joined: 01 Mar 2006 Posts: 21 Topics: 6
|
Posted: Tue Mar 07, 2006 7:34 pm Post subject: Thanks a lot. |
|
|
Thank you very much for your response. Anyways i will go through the manual you refered.
Sairamjaya. |
|
Back to top |
|
 |
|
|