|
View previous topic :: View next topic
|
| Author |
Message |
achittu
New User
Joined: 26 Feb 2007 Posts: 14 Location: chennai
|
|
|
|
Hi,
I get a PS file onto Mainframe from other system. This file is PDF converted mainframe file(when I open the mainframe file I see the data is compressed). Now all I need to do is NDM this file to Windows. It should copy as a PDF document on the windows.
Now using NDM I am able to transfer the file to windows and it shows as PDF doc but when they try opening it using Adoe reader it says invalid format.
I am currently using the option : DATATYPE(TEXT) XLATE(YES)
Is there any kind of setting I need to change before I do NDM of the file ? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you use BINARY rather than TEXT. . .
A PDF file is not text. . . |
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| Quote: |
| A PDF file is not text. . . |
and it is not compressed -- I suspect you saw the binary data and thought it was compressed. |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
| What format was used to transfer the file to the mainframe? Binary I hope? |
|
| Back to top |
|
 |
achittu
New User
Joined: 26 Feb 2007 Posts: 14 Location: chennai
|
|
|
|
I do not know the format that was used to send to mainframe, but when I do an FTP from mainframe to my desktop PC by unchecking the option ASCII/EBCDIC to it works only in NDM it does not seem to be working
I have tried all the following options :
DATATYPE(TEXT) XLATE(YES)
DATATYPE(BINARY) XLATE(YES)
DATATYPE(TEXT) XLATE(NO)
DATATYPE(BINARY) XLATE(NO)
None of them seem to be working
Also my input file is VB file, so is there any setting in NDM specific to VB files ? |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
My gut feeling is that your SYSOPTS should be:
DATATYPE(BINARY) XLATE(NO) STRIP.BLANKS(NO) |
|
| Back to top |
|
 |
|
|