Maybe it's only used to control translation during *SAM I/O. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Wednesday, February 25, 2026 2:00 PM To: [email protected] <[email protected]> Subject: Re: Can I tag a file in JCL? External Message: Use Caution On Wed, 25 Feb 2026 08:54:43 +0000, Colin Paice <[email protected]> wrote: >I have >//STDERR DD PATH='&PATH/stderr.D&YYMMDD..T&HHMMSS', >// PATHOPTS=(OWRONLY,OCREAT,OTRUNC), >// PATHMODE=SIRWXU > >and would like to be able to tag it so it gets processed properly when >using OMVS programs > ... With respect to FILEDATA, in [articular, I found, many years ago that the JCL Ref. stated that if FILEDATA did not appear on the DD statement it was taken to be BINARY. However I found that if an existing file had a contrary tag the access method respected it (but see Hyrum's Law.) I believe, but my memory is less clear, that FILEDATA in JCL was preserved when creating a new file. I did not experiment with CCSID or with overriding tags. The Ref. seems to suggest that CCSID applies primarily (only?) for tape. Is there hardware support in the tape control unit? In days of yore the Ref. contained a matrix of mutually exclusive options. That has vanished, perhaps because it outgrew the page size, replaced by scattered "Relation to Other Options" sections. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
