Trying to write multiple lines to a pds member using todsn. The second attempt fails with the -a option. If i remove the -a it works, but overwrites the first line.
error:
+ printf -- '-NOTE: %s%s%s\n' 'Failed to read ORDERID' 0i3fx jostest-bsa
+ todsn -a '//OSP.BSADV.HJ01234.HJ56799(REQSTAT)'
todsn-client(4741)[E]: todsn(OSP.BSADV.HJ01234.HJ56799(REQSTAT)): Error opening output dataset, rc=103, msg="EDC5057I The open mode
todsn-client(4741)[E]: server exit_code=103
todsn-client(4741)[E]: transmitted byte counts do not match, server sent/received = 0/1, client received/sent = 0/46