View previous topic :: View next topic
|
Author |
Message |
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
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 |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
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 |
|
|
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|