I won't be losing any sleep over it! I have seen many IBM installation
scripts that rely on cat supporting data sets. Just for fun, here is a
list of z/OS UNIX core-utils that use fopen().
Binary file /bin/ar matches
Binary file /bin/as matches
Binary file /bin/asa matches
Binary file /bin/at matches
Binary file /bin/awk matches
Binary file /bin/batch matches
Binary file /bin/bc matches
Binary file /bin/c++ matches
Binary file /bin/c89 matches
Binary file /bin/calendar matches
Binary file /bin/captoinfo matches
Binary file /bin/cat matches
Binary file /bin/cc matches
Binary file /bin/clear matches
Binary file /bin/col matches
Binary file /bin/comm matches
Binary file /bin/compress matches
Binary file /bin/cp matches
Binary file /bin/cpio matches
Binary file /bin/crontab matches
Binary file /bin/csplit matches
Binary file /bin/ctags matches
Binary file /bin/cut matches
Binary file /bin/cxx matches
Binary file /bin/dbe matches
Binary file /bin/dbgld matches
Binary file /bin/dbx31 matches
Binary file /bin/dbx64 matches
Binary file /bin/dbxd64 matches
Binary file /bin/dd matches
Binary file /bin/diff matches
Binary file /bin/dig matches
Binary file /bin/dircmp matches
Binary file /bin/ed matches
Binary file /bin/egrep matches
Binary file /bin/ex matches
Binary file /bin/expand matches
Binary file /bin/ezatmail matches
Binary file /bin/fgrep matches
Binary file /bin/file matches
Binary file /bin/fold matches
Binary file /bin/fuser matches
Binary file /bin/gencat matches
Binary file /bin/grep matches
Binary file /bin/gsktrace matches
Binary file /bin/head matches
Binary file /bin/iden matches
Binary file /bin/infocmp matches
Binary file /bin/ipsec matches
Binary file /bin/join matches
Binary file /bin/ld matches
Binary file /bin/ldapadd matches
Binary file /bin/ldapcompare matches
Binary file /bin/ldapdelete matches
Binary file /bin/ldapmodify matches
Binary file /bin/ldapmodrdn matches
Binary file /bin/ldapsearch matches
Binary file /bin/lex matches
Binary file /bin/link matches
Binary file /bin/ln matches
Binary file /bin/localedef matches
Binary file /bin/localedef64 matches
Binary file /bin/logger matches
Binary file /bin/lp matches
Binary file /bin/mail matches
Binary file /bin/mailx matches
Binary file /bin/make matches
Binary file /bin/man matches
Binary file /bin/mcp matches
Binary file /bin/mcpgath matches
Binary file /bin/mcpscat matches
Binary file /bin/md5 matches
Binary file /bin/mkcatdefs matches
Binary file /bin/more matches
Binary file /bin/mv matches
Binary file /bin/nl matches
Binary file /bin/nm matches
Binary file /bin/nslookup matches
Binary file /bin/nsupdate matches
Binary file /bin/onslookup matches
Binary file /bin/pack matches
Binary file /bin/paste matches
Binary file /bin/patch matches
Binary file /bin/pax matches
Binary file /bin/pcat matches
Binary file /bin/pdbx matches
Binary file /bin/pedb matches
Binary file /bin/pg matches
Binary file /bin/pmd matches
Binary file /bin/poe matches
Binary file /bin/pr matches
Binary file /bin/ps matches
Binary file /bin/rmail matches
Binary file /bin/rmd160 matches
Binary file /bin/scp matches
Binary file /bin/script matches
Binary file /bin/sed matches
Binary file /bin/sendmail matches
Binary file /bin/setfacl matches
Binary file /bin/sftp matches
Binary file /bin/sh matches
Binary file /bin/sha1 matches
Binary file /bin/sha224 matches
Binary file /bin/sha256 matches
Binary file /bin/sha384 matches
Binary file /bin/sha512 matches
Binary file /bin/sort matches
Binary file /bin/spell matches
Binary file /bin/split matches
Binary file /bin/ssh matches
Binary file /bin/ssh-add matches
Binary file /bin/ssh-agent matches
Binary file /bin/ssh-keygen matches
Binary file /bin/ssh-keyscan matches
Binary file /bin/strings matches
Binary file /bin/strip matches
Binary file /bin/tail matches
Binary file /bin/talk matches
Binary file /bin/tar matches
Binary file /bin/tic matches
Binary file /bin/tput matches
Binary file /bin/trmdstat matches
Binary file /bin/tsort matches
Binary file /bin/uconvdef matches
Binary file /bin/uncompress matches
Binary file /bin/unexpand matches
Binary file /bin/uniq matches
Binary file /bin/unpack matches
Binary file /bin/uucp matches
Binary file /bin/uudecode matches
Binary file /bin/uuencode matches
Binary file /bin/uuname matches
Binary file /bin/uustat matches
Binary file /bin/uux matches
Binary file /bin/vi matches
Binary file /bin/wall matches
Binary file /bin/wc matches
Binary file /bin/write matches
Binary file /bin/xargs matches
Binary file /bin/xsdosrg matches
Binary file /bin/yacc matches
Binary file /bin/zcat matches
On 5/4/22 01:59, Kirk Wolf wrote:
Gil,
We certainly have seen that using data sets from z/OS Unix commands that don't
explicitly document support is your pet peeve. IMO this seems overly
pedantic, since IBM code that uses fopen (and works) is extremely unlikely to
stop.
On Mon, Apr 4, 2022, at 12:08 PM, Paul Gilmartin wrote:
On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
- You can make awk not only act like (f)grep, but it also takes dsn syntax
since uses fopen().
Is that documented as supported?
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
----------------------------------------------------------------------
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