View previous topic :: View next topic
|
Author |
Message |
ganeshcet
New User
Joined: 25 Jan 2007 Posts: 11 Location: New York
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Any reason of why you want to zip the file before NDM?
Is it because the files are huge size? |
|
Back to top |
|
|
ganeshcet
New User
Joined: 25 Jan 2007 Posts: 11 Location: New York
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
You can try this...
there is COMPRESS option in NDM, you can try this to send huge files without ZIPping. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|