Somehow I cannot get data to insert using the below REX exec. I know it must be something simple, all I am trying to do it take a line of data that already has text in it and add some addition text on the line. Can anyone help me out.
ADDRESS TSO
"ALLOC FI($TMP) DA('xxx.xxxx.xxxx.xxx)') SHR REUSE"
"NEWSTACK"
"EXECIO * DISKR $TMP (FINIS)"
ISREDIT C ' ' 'test' 1 4 ALL
"EXECIO" QUEUED() "DISKW $TMP (FINIS)"
"DELSTACK"
"FREE FI($TMP)"
ADDRESS TSO
"ALLOC FI($TMP) DA('xxx.xxxx.xxxx.xxx)') SHR REUSE"
"NEWSTACK"
"EXECIO * DISKR $TMP (FINIS)"
ISREDIT C ' ' 'test' 1 4 ALL
"EXECIO" QUEUED() "DISKW $TMP (FINIS)"
"DELSTACK"
"FREE FI($TMP)"