does this work better than the pax command? - this has been working for me very well for getting new updates to my etc filesystem.
6.4) Issue the pax command to copy new members from this location to the new /etc filesystem : pax -rwkv -p e . /Service/TST1/etc Description of syntax: pax –rw puts you in copy mode k prevents the pax utility from overlaying any existing symbolic links v displays the symbolic links and files being copied -p e Preserves the user ID, group ID, file mode, access time, modification time, all extended attributes and preserves the permissions ‘.’ Represents the current location you have changed directories to (working directory) /Service/TST1/etc represents where you are copying to Carmen Vitullo ----- Original Message ----- From: "Dave Myers" <[email protected]> To: [email protected] Sent: Thursday, September 13, 2018 11:21:32 AM Subject: COPYPAX REXX exec problem I am trying to use the COPYPAX exec to COPY/NOREPLACE a zOS 2.1 /etc into a zOS 2.3. It is ending with a RC=1 and there are subdirs and files that are not getting copied. Getting this error and don't know why. 10:54:36: Verifying existence of source directory /SYSTEM/etc... 10:54:36: Verifying existence of target directory /etc230... 10:54:36: Copying the source to the target structure using pax and do not overwrite existing files and listing all entries copied.. . pax: FSUM9679 Existing file "/etc230/." exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/bin" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/etc" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home/daemonct" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home/dfscm" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home/dfscntl" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home/dfsexport" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/home/dfskern" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/lib" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/lib/nls" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/lib/nls/msg" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/syscall" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./dfs/var" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./Printsrv/aopd.conf" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./Printsrv/aopxfd.conf" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./PFA" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./syslog.pid" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./log" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./utmpx" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./recover" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./rdz" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./jazz501" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./snmpd.boots" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1/FMNCSEP" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1/EQACMINT" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1/IDIGMAIN" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1/IPVVRFY" exists; it will not be overwritten pax: FSUM9679 Existing file "/etc230/./ipv/v16/ipvsrv1/CAZLCS01" exists; it will not be overwritten CPPAX012E The pax command ended with return code Rc(1). 10:54:37: Processing is ending... // SET SOURCED='/SYSTEM/etc' MOUNT R/O<=SRC DIRECTOY // SET TARGETD='/etc230' MOUNT R/W<=TGT DIRECTOY //* ------------------------------------------------------------------ // SET TIMEOUT=0 <=== TIMEOUT VALUE IN SECONDS, 0=NO TIMEOUT // SET REXXLIB=UXDZM01.ZOS.JCLLIB //* ------------------------------------------------------------------ //ZFSADM EXEC PGM=IKJEFT01,PARM='COPYPAXR &TIMEOUT &SOURCED &TARGETD' //SYSEXEC DD DSNAME=&REXXLIB.,DISP=SHR //SYSTSIN DD DUMMY //SYSTSPRT DD SYSOUT=*,LRECL=260,RECFM=V //CPPXPARM DD DATA,DLM=## COPY_PAX_VERBOSE=Y NO_FILE_OVERWRITE=Y PROCESS_INFO_MSGS=Y ## Thanks, Dave ---------------------------------------------------------------------- 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
