Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- From: docdwarf@xxxxxxxxx ()
- Date: Tue, 19 Sep 2006 16:57:01 +0000 (UTC)
In article <cu70h2pcmcnk927bhj7goibd970pnubioj@xxxxxxx>,
Howard Brazee <howard@xxxxxxxxxx> wrote:
Once again, thanks to all... but I can't even get a tape mounted, the
SMC0043 tells me that the unit cannot be allocated.
DD
[top post, nothing new below]
That is correct. This is from the "Macro Instrucionns for Data Sets"
manual; see the last paragraph and note that LABEL=(,AL) assumes
OPTCD=Q
Q
requests conversion of the tape records between what is stored on
tape and what is supplied from/to the problem program. For input
requests, conversion is done after the data is read from tape. For
output requests, conversion is done just before the record is
written to tape.
The Q option implies that the character representation of the data
on tape differs from that seen by the problem program. Data
management converts records according to one of the following
techniques:
O CCSID Conversion
If CCSIDs are supplied from any source for ISO/ANSI V4 tapes,
records are converted between the CCSID which represents the
data on tape and the CCSID as seen by the problem program. You
can also prevent conversion by supplying a special CCSID.
O Default Character Conversion
If you are using non-ISO/ANSI V4 tapes or if CCSIDs are not
supplied by any source, data management converts the records
between ASCII code (which represents the data on tape) to
EBCDIC code (which is seen by the problem program) using
specific tables defined for this default character conversion.
Refer to z/OS DFSMS: Using Data Sets, SC26-7410, for a complete
description of CCSID conversion and default character conversion.
Refer to z/OS DFSMS: Using Magnetic Tapes for more information
about ISO/ANSI labels.
Q is supported only for a magnetic tape that does not have IBM
standard labels. If the tape has ISO/ANSI/FIPS labels
(LABEL=(,AL)), the system assumes OPTCD=Q.
--
Bruce A. Black
===============================
IIRC, even if you code LABEL=(1,NL), OPEN checks to see if a label
does in
fact exist. And, if it does, OPEN will do some verfication of the
content, which could still lead to problems. It's been a long time
since
I messed with tape labels, so I could be mistaken.
John Kington <john.kington@xxxxxxxxxxxxx>
========================
If you say NL but the tape that is mounted has labels (standard or
ANSI)
the mount is rejected
--
Bruce A. Black
======================
.
- References:
- [OT] EBCDIC to ASCII OPTCD=Q? (JCL)
- From:
- Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- From: Pete Dashwood
- Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- From:
- Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- From: Howard Brazee
- [OT] EBCDIC to ASCII OPTCD=Q? (JCL)
- Prev by Date: Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- Next by Date: Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- Previous by thread: Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- Next by thread: Re: EBCDIC to ASCII OPTCD=Q? (JCL)
- Index(es):
Relevant Pages
|
|