IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PKZIP parameter NIA


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kaushikmitra

New User


Joined: 11 Apr 2008
Posts: 26
Location: MONTEREY

PostPosted: Wed Oct 22, 2008 10:55 am
Reply with quote

Hi All ,

I have a requirement to Zip a mainframe file before FTP ing the file to a open system server. For that I am using the utility PKZIP , I get a sample PKZIP utility in internet. I understand most of it's parameter , but could not able to understand the parameter called NIA.

Please help me if you anything about this parameter , Is it required always?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Oct 22, 2008 11:30 am
Reply with quote

-NIA (Name In Archive) specifies how you want to convert your MVS dataset name into a more meaningful local filename on the machine that will ultimately receive your zip archive file.
Back to top
View user's profile Send private message
kaushikmitra

New User


Joined: 11 Apr 2008
Posts: 26
Location: MONTEREY

PostPosted: Wed Oct 22, 2008 1:19 pm
Reply with quote

So is this the name of the destination file ? Because during FTP we can give name to the destination file. Then what is the use of the parameter NIA ? Is it a mandatory parameter for PKZIP ?
Back to top
View user's profile Send private message
ramsri

Active User


Joined: 18 Oct 2008
Posts: 380
Location: India

PostPosted: Wed Oct 22, 2008 1:39 pm
Reply with quote

Hi,

Probably, you would want to go to through these links........ I got these hits when used "NIA in PKZIP" given in GOOGLE....

PKZIP MVS User's Guide 5.5

PKZIP / SecureZIP™ for z/OS


HTH
Back to top
View user's profile Send private message
kaushikmitra

New User


Joined: 11 Apr 2008
Posts: 26
Location: MONTEREY

PostPosted: Thu Oct 23, 2008 4:56 am
Reply with quote

Thanks for your reply.

Now I am trying to FTP .ZIP mainframe file by using the follwoing FTP command. Do I need to give a destination file name Or it will automatically set the destination file name with what name I gave in NIA parameter

PUT 'XXXX.XXX.XXXX.ZIP'
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 23, 2008 6:06 am
Reply with quote

I think you're a bit confused. Name In Archive refers to the name of the file within the ZIP file -- NOT the name of the ZIP file. If your FTP says to put 'XXXX.XXX.XXXX.ZIP' and xxxx.xxx.xxxx are all valid MVS qualifiers, and you did not issue an FTP cd command to a Unix directory, MVS file XXXX.XXX.XXXX.ZIP will be created or replaced. Once the file is on the mainframe, and you unzip it, then the name in the archive will be referenced -- but in the FTP it plays no role. NIA provides the translation from an MVS file name of level1.level2.level3... into directories /level1/level2/level3...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top