Replacement text of message CPI6705 in QCPFMSG in ADMSYS not valid for format specified.
Probable cause of this error is type mismatch in message file. When you have an old/modified *MSGF in library list which have different fields that program is expecting.
In this case for MSGID CPI6705
system *MSGF QCPFMSG in QSYS
Field Data Type Length
&1 *CHAR 17
&2 *CHAR 10
&3 *CHAR 6
&4 *CHAR 10
&5 *UBIN 8
&6 *CHAR 10
&7 *CHAR 6
&8 *CHAR 10
&9 *DTS
&10 *DTS
obsolete *MSGF QCPFMSG in ADMSYS
Field Data Type Length
&1 *CHAR 17
&2 *CHAR 10
&3 *CHAR 6
&4 *CHAR 10
&5 *BIN 4
&6 *CHAR 10
&7 *CHAR 6
&8 *CHAR 10
&9 *DTS
&10 *DTS
&11 *ITV
If you have to use obsolete *MSGF you can modify only specified MSGID with a command CHGMSGD