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

Zipping Files using NDM process


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Fri Jun 01, 2007 11:39 pm
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
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
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
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

Moderator Emeritus


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

PostPosted: Sat Jun 02, 2007 4:54 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top