View previous topic :: View next topic
|
Author |
Message |
raj_mainframe08
New User
Joined: 11 Sep 2007 Posts: 65 Location: Gurgaon
|
|
|
|
I am using following command while zipping the file for file name.
Code: |
-INDD(INFILE)
-ARCHOUTDD(OUTFILE)
-METHOD(MAXIMUM)
-NIA(*.*,MPLPRI_&CDATE.CSV)
|
For the &CDATE, I am getting message variables not found in spool. Please tell me the syntax for getting the Date and if there is one for Time as well while zipping the file |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If your site has a license for PKZIP, then you have access to the manuals -- via hardcopy, or internal web site, or from the vendor. Since the vendor manuals are not publically available, the only responses you will get on this forum (if any) will be from someone whose site has also licensed the product. There may not be many such people.
You would be MUCH better off going to the vendor for support on this question. |
|
Back to top |
|
|
raj_mainframe08
New User
Joined: 11 Sep 2007 Posts: 65 Location: Gurgaon
|
|
|
|
Thanks. I did got the manuals from Administrator and searched them. Below are the details
Code: |
• Local Date/Time Formats: Local date and time can be used as substitution. The following variables are available:
Date Formats:
o &YYYYMMDD (Local Gregorian date with four digit year)
o &YYMMDD (Local Gregorian date with two digit year)
o &YYYYDDD (Local Julian date with four digit year)
o &YYDDD (Local Julian date with two digit year)
o &YYMM (Local Year and Month)
o &YYYY (Four digit year)
o &YY (Two digit year)
o &MM (Two digit month)
o &DD (Two digit day)
Time Formats:
o &HHMNSS (Two digit - Hours minutes and seconds)
o &HHMN (Two digit – Hours and minutes)
o &HH (Two digit hour)
o &MN (Two digit minute)
o &SS (Two digit second)
Example:
-ARCHIVE DSN(MY.D&YYDDD..T&HHMN..BACKUP.ZIP)
|
|
|
Back to top |
|
|
|