On Sun, 9 Oct 2022 19:00:26 +0000, Farley, Peter x23353 wrote:
>I believe I tried just removing the DSNTYPE(HFS) and it failed, but I will try
>that again at my next opportunity to see what happens.
>
The two uses of DSNTYPE I can find are
<https://www.ibm.com/docs/en/zos/2.1.0?topic=file-dsntype-operand>
Identify the file type as either PIPE (a FIFO file) that is coded in
combination
with the PATH operand or
as an HFS (hierarchical file system) specified in combination with the
DSNAME operand.
HFS indicates that the data set is an HFS data set which contains a z/OSĀ®
UNIX
hierarchical file system.
( I believe the latter is obsolete and not what you intend. You didn't specify
DSN.)
DSNTYPE does support other values (for example LIBRARY, PDS, EXTREQ,
EXTPREF, LARGE, and BASIC), but these are not appropriate for HFS files.
>Yes, my Rexx programs are tagged (IBM1047 and text), and yes, the
>auto-conversion incantations are active. I thought I tried tagging as
>ISO8859-1 and text and it failed to execute a called Rexx program in the Unix
>directory with a WRONG.LENGTH.RECORD error,
>
I'm too familiar with that for LRECL too small. It should have a different M&C
because
RECORD historically meant "block" when that message was issued.
> ... but I will repeat that test to verify. At the time of that ISO8859-1
> test I know I did NOT have the LRECL/RECFM override in place for the SYSEXEC
> allocation, so that may have been the problem rather than the file encoding.
>
If it doesn't work it deserves an SR. Can you Edit/View files so tagged with
ISPF?
>I originally did not think of using LRECL/RECFM overrides on the SYSEXEC
>allocation because I thought they would be incompatible with the PATH
>keywords.
>
I'd say you underestimate IBM, but I've had too much unpleasant experience
overestimating
IBM in such matters. BTW, DCB=(LRECL,...) is incompatible with PATH. WHY!?
> IBM could provide better and more complete examples of accessing Unix files
> from a TSO or batch task
>
+1
At least complete examples for IEBGENER SYSUT1 and HLASM SYSLIB, both showing
examples
of mixed concatenation. The best I find easily is in Using Data Sets:
//SYSUT2 DD PATH='/sj/sjpl/xsam/xpm17u01/paytime',
// PATHDISP=(KEEP,DELETE),
// PATHOPTS=(OCREAT,ORDWR),
// PATHMODE=(SIRUSR,SIWUSR,
// SIRGRP,SIROTH),
// FILEDATA=TEXT
> ... that show which DD keywords are compatible with Unix allocations, but I
> won't hold my breath waiting for such to be created. There may be some
> table(s) somewhere (maybe in the JCL reference manual?) that show
> compatibility, but it's my fault that I haven't looked for them yet.
>
There used to be such a matrix, in the JCL Ref., IIRC. Perhaps it outgrew page
size
and IBM simply dropped it in favor of scattered "Relationship to other
parameters"
sentences.
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN