Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

The content of output datset is not in a readable format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: The content of output datset is not in a readable format
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

Moderator


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

PostPosted: Tue Dec 14, 2010 1:00 pm    Post subject: Reply to: The content of output datset is not in a readable
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: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 14, 2010 1:06 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 14, 2010 1:26 pm    Post subject:
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: 2431
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 14, 2010 1:37 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 15, 2010 4:00 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us