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
 

 

Zipping Files using NDM process

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ganeshcet

New User


Joined: 25 Jan 2007
Posts: 11
Location: New York

PostPosted: Fri Jun 01, 2007 7:00 pm    Post subject: Zipping Files using NDM process
Reply with quote

dear all
I need any tips/solution for the issue I am facing. We are transmitting a File from Mainframe side to Unix server through NDM. the file which we are sending is Unzipped . But they need it in Zipped format.
Is there any way in the NDM card we can code parameters so that files get zipped as I dont want to add another separate zip step and create the file (PKZIP utility)

Note I coded
&SYSOP02=':DATATYPE=BINARY:XLATE=NO:STRIP.BLANKS=NO:'

Please let me know.
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Fri Jun 01, 2007 11:39 pm    Post subject: Re: Zipping Files using NDM process
Reply with quote

My thoughts on this topic:

The process of zipping data is both CPU and I/O intensive. I think it would be best of you performed that process in the batch environment where it belongs, rather than in the CONNECT:Direct (i.e. NDM) environment. I think it would be better to have another job that runs prior to the NDM job to peform the PKZIP process on the data.

That being said, the only way that I can see to logically include a PKZIP execution within the Process is to code a RUNTASK step, obviously before the target COPY step, that can execute your PKZIP program. A RUNTASK, as opposed to a RUNJOB, is the only way to keep your Process running asynchronously.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Jun 02, 2007 2:16 am    Post subject:
Reply with quote

Any reason of why you want to zip the file before NDM?

Is it because the files are huge size?
Back to top
View user's profile Send private message
ganeshcet

New User


Joined: 25 Jan 2007
Posts: 11
Location: New York

PostPosted: Sat Jun 02, 2007 10:49 am    Post subject:
Reply with quote

files are big in size .. i have done a PKZIP process now and did NDM..the file is transmitted but the data is unreadable format from their side.
The file contains only alpha numeric and number no comp 3 fields..

&SYSOP02=':DATATYPE=BINARY:XLATE=NO:'
this wat i tried and
&SYSOP02=':DATATYPE=TEXT:XLATE=NO:STRIP'
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Jun 02, 2007 10:52 am    Post subject:
Reply with quote

You can try this...

there is COMPRESS option in NDM, you can try this to send huge files without ZIPping.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 02, 2007 4:54 pm    Post subject:
Reply with quote

Hello,

If you "zip" the file on the mainframe, the transfer must be done in binary. If will not matter that the file contains only text data before zipping. The zipped file is all binary.

Does the target system have ftp running? You might try an ftp to prove the file is usable, then continue with the NDM attempt if ftp will not fill your requirement. The ftp transfer would need to specify binary as the transfer mode.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


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