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

The content of output datset is not in a readable format


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Tue Dec 14, 2010 12:37 pm
Reply with quote

Hi,

I have modified a JCL to route the output to an output dataset, previously the output was routed to a printer.

The original JCL looked as

Quote:
//OUTFILE DD SYSOUT=Y,DEST=(xxxxx),
// DCB=(RECFM=VBA,LRECL=nnnn,BLKSIZE=nnnn)

Where Y is printer class

I have modified the JCL as

Quote:
//OUTFILE DD DSN=XX.XXXX.XX,DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(50,50),RLSE),
// DCB=(RECFM=VBA,LRECL=nnnn,BLKSIZE=nnnn)

After modifying, the job ran successfully but the contents of the output datset contains some characters which are not readable.

I guess some formatting needs to be done while routing it to the ouput dataset. Can anyone help me out regarding this issue.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Dec 14, 2010 1:00 pm
Reply with quote

What are you trying to process in your JCL and if you give more information might help to give some clarity on your problem
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 14, 2010 1:06 pm
Reply with quote

Any particular characters or just random characters.

What have you researched yourself and what did you find, just so that we don't have to waste time doing what you have already done.

Information is the key to getting help, so far you have had all of the help that you deserve.
Back to top
View user's profile Send private message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Tue Dec 14, 2010 1:07 pm
Reply with quote

Prevoiusly we used to print some documents by routing the output to a printer destination, but now we dont need to route the output to a printer instead the output is routed to a dataset.
Hope this helps.
Back to top
View user's profile Send private message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Tue Dec 14, 2010 1:23 pm
Reply with quote

Expat,

I can see a pattern of characters appearing in addition to the valid text in the output dataset. For example i can see text like AFP1,AFP2,AFP3 etc in addition to the special characters in the output dataset.

I have used the parameter UCS in the DD statement of the o/p datset but
facing the same issue.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 14, 2010 1:26 pm
Reply with quote

My first thought would be that there are some charaters which print OK, but are not set up for display purposes.

e.g. The euro sign prints perfectly, but will not display on my terminal
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 14, 2010 1:37 pm
Reply with quote

Looks like the output is for the Print Services Facility (PSF) of the IBM Advanced Function Printing (AFP) software application.

Consult the IBM manuals for printing control characters.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 15, 2010 4:00 pm
Reply with quote

How the //OUTFILE is getting generated? With the description in mind from your last post, I'd agree with Peter on AFP.

If AFP is involved then those characters might not have appeared (actually will not appear if AFP is in effect) on the printed-copy from the printer, because the printer libraries are installed with FORMDEF and PAGEDEF to convert those characters either in "human-understandable characters" or will use for the orientation and feel (bold/italic text etc.) of the text.

So again, how the original file is generated?
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top