Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to NDM a PDF format Mainframe dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to NDM a PDF format Mainframe dataset
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

Site Director


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

PostPosted: Fri Mar 19, 2010 10:52 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 19, 2010 11:24 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: How to NDM a PDF format Mainframe dataset
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

Moderator Team Head


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

PostPosted: Sat Mar 20, 2010 12:56 am    Post subject: Reply to: How to NDM a PDF format Mainframe dataset
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    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 Looking for Mainframe job Chandan1993 Mainframe Jobs 0 Sun Sep 24, 2017 1:06 am
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us