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.

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, 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.

I probably won’t be able to repeat these tests for at least a week because 
other tasks have priority, but I will report back after they are done.

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. 
 IBM could provide better and more complete examples of accessing Unix files 
from a TSO or batch task 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.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Saturday, October 8, 2022 7:53 PM
To: [email protected]
Subject: Re: How to use LISTDSI from Rexx under Unix shell?

On Sat, 8 Oct 2022 21:40:26 +0000, Farley, Peter x23353  wrote:

>Follow-up #2: I found out through further experimentation that there is an 
>ASSUMPTION of LRECL(80) RECFM(F) when SYSEXEC is a Unix directory, but you can 
>override that assumption by using LRECL and RECFM on the ALLOC for SYSEXEC:
>
>      "ALLOC FI(SYSEXEC) PATH('/u/tsouser/exec') DSNTYPE(HFS)" ,
>         "PATHMODE(SIRUSR,SIXUSR) PATHOPTS(ORDONLY)" ,
>         "FILEDATA(TEXT) PATHDISP(KEEP, KEEP) LRECL(4096) RECFM(V)"
> 
Attribute overrides have worked that way for a half century, longer than MVS 
UNIX has existed.

Does DSNTYPE(HFS) do anything, given that HFS is no longer supported?

PATH for SYSEXEC used not to work.  Apparently it has been fixed.

>EBCDIC encoding of the Rexx programs stored in the Unix directory is still 
>required.
>
Are your Rexx programs tagged with CCSID (ASCII, if you want), and have you 
issued the incantations to enable autoconversion?  If you have and it still 
doesn't work, an SR or an RFE is in order.

ISPF Edit recognizes and respects CCSID tagging of UNIX files, converting 
to/from your terminal CCSID.

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to