RC-3 typically means unknown CP/CPS command.
When you code in rexx, the case (upper/mixed) of text in quotes is respected 
(permitting you to enter Linux commands, or created files with mixed-case file 
IDs).

Uppercase your commands in you exec.

E.g. in this case:
'PIPE (SEP ! ENDCHAR ?)',      
   '! LITERAL ' headrec ,       
   '! > 'thishost' COMPDAT  A'  

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not necessarily those of my 
employer.

-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:[email protected]] On 
Behalf Of Miguel Soltero Diaz
Sent: Monday, August 18, 2014 10:59
To: [email protected]
Subject: address command returns -3 when executing pipe

Hi guys,
I am executing the following pipe by itself and works fine.

headrec = 'CREATED DATE:'newcrdate  

 'pipe (sep ! endchar ?)',      
   '! LITERAL ' headrec ,       
   '! > 'thishost' COMPDAT  A'  

but executing it with address command get a rc -3

Why is that?

Thanks

Miguel Soltero Diaz

Reply via email to