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

How to NDM a PDF format Mainframe dataset


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
achittu

New User


Joined: 26 Feb 2007
Posts: 14
Location: chennai

PostPosted: Fri Mar 19, 2010 10:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Mar 19, 2010 10:52 pm
Reply with quote

Hello,

Suggest you use BINARY rather than TEXT. . .

A PDF file is not text. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 19, 2010 11:24 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Mar 19, 2010 11:54 pm
Reply with quote

What format was used to transfer the file to the mainframe? Binary I hope?
Back to top
View user's profile Send private message
achittu

New User


Joined: 26 Feb 2007
Posts: 14
Location: chennai

PostPosted: Fri Mar 19, 2010 11:58 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Sat Mar 20, 2010 12:56 am
Reply with quote

My gut feeling is that your SYSOPTS should be:

DATATYPE(BINARY) XLATE(NO) STRIP.BLANKS(NO)
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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top