# z/OS: csi_parse() decodes a Catalog Search Interface work area in both # character sets. # # The entry type byte is the point (notes/review-2026-11-27.md, item 12): # an ASCII build converts it from EBCDIC, an EBCDIC build must use it as it # is. Converting it twice made every entry arrive with the wrong type, which # only Tab completion ever noticed. The helpers are plain programs over # src/mvsfmt.c, built by the Makefile for both sets; each prints a verdict, so # one expectation serves both. tools=${TESTS:-.}/../build/zos-tools [ -x "$tools/csi" ] && [ -x "$tools/csi-ascii" ] || exit 77 echo "-- EBCDIC build" "$tools/csi" echo "-- ASCII build" "$tools/csi-ascii"