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 parameter NIA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: PKZIP parameter NIA
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

Moderator Team Head


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

PostPosted: Wed Oct 22, 2008 11:30 am    Post subject: Reply to: PKZIP parameter NIA
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    Post subject:
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    Post subject: Go through these
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    Post subject:
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: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Thu Oct 23, 2008 6:06 am    Post subject:
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    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 Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm


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