From 0db5396e8ca94d5f465e52c92de83ab08a462362 Mon Sep 17 00:00:00 2001 From: Chi-Iroh <69324626+Chi-Iroh@users.noreply.github.com> Date: Tue, 21 Oct 2025 15:49:39 +0200 Subject: [PATCH] [OS400] Gives members a type (in H, TOOLS and DOCS physical files) --- os400/make.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os400/make.sh b/os400/make.sh index 19eec117a..a5f373c71 100644 --- a/os400/make.sh +++ b/os400/make.sh @@ -187,6 +187,7 @@ do MEMBER="${LIBIFSNAME}/DOCS.FILE/`db2_name \"${TEXT}\"`.MBR" then CMD="CPY OBJ('${TEXT}') TOOBJ('${MEMBER}') TOCCSID(${TGTCCSID})" CMD="${CMD} DTAFMT(*TEXT) REPLACE(*YES)" system "${CMD}" + system "CHGPFM FILE(${TARGETLIB}/DOCS) MBR(`basename ${TEXT}`) SRCTYPE(TXT)" fi done @@ -221,6 +222,7 @@ do DEST="${SRCPF}/`db2_name \"${HFILE}\"`.MBR" CMD="CPY OBJ('`pwd`/tmphdrfile') TOOBJ('${DEST}')" CMD="${CMD} TOCCSID(${TGTCCSID}) DTAFMT(*TEXT) REPLACE(*YES)" system "${CMD}" + system "CHGPFM FILE(${TARGETLIB}/H) MBR(`basename ${HFILE} .h`) SRCTYPE(H)" # touch -r "${HFILE}" "${DEST}" rm -f tmphdrfile fi @@ -315,6 +317,7 @@ if action_needed "${SCRIPTDIR}/bndsrc" "${DEST}" then CMD="CPY OBJ('${SCRIPTDIR}/bndsrc') TOOBJ('${DEST}')" CMD="${CMD} TOCCSID(${TGTCCSID}) DTAFMT(*TEXT) REPLACE(*YES)" system "${CMD}" + system "CHGPFM FILE(${TARGETLIB}/TOOLS) MBR(BNDSRC) SRCTYPE(BND)" # touch -r "${SCRIPTDIR}/bndsrc" "${DEST}" LINK=YES fi