Page 1 of 1

REXX with CPICOMM for zOs environment

PostPosted: Sat Aug 19, 2023 2:42 am
by Cirqueira
Hello,
I would like to know if anyone has any experience with the use of ADDRESS CPICOMM for communication between two programs in REXX and could you kindly show an example or indicate a manual with an example that is real?

Re: REXX with CPICOMM for zOs environment

PostPosted: Sun Aug 20, 2023 11:23 am
by Pedro
I have not used it. And the only example I found was pretty useless:
https://www.ibm.com/docs/en/zos/2.5.0?t ... s-services

Re: REXX with CPICOMM for zOs environment

PostPosted: Sun Aug 20, 2023 11:28 am
by Pedro
I do not think REXX is mentioned much, but the CPI comm architecture is described here:
https://publibfp.dhe.ibm.com/epubs/pdf/c2643999.pdf

Re: REXX with CPICOMM for zOs environment

PostPosted: Sun Aug 20, 2023 2:54 pm
by willy jensen
No, but I have a working sample for a TCP client/server app in REXX. Origin was TCPIP.SEZAINST(RSSERVER) and TCPIP.SEZAINST(RSCLIENT).

Re: REXX with CPICOMM for zOs environment

PostPosted: Mon Aug 21, 2023 3:22 am
by Cirqueira
Hello Guys...


Pedro, unfortunately the IBM examples donĀ“t work, but I'll read the second suggested manual and see if we have any light, thanks.

Willi, thanks for the tip to use client/server TCP, I'll analyze th codes and try to use them.

Re: REXX with CPICOMM for zOs environment

PostPosted: Mon Aug 21, 2023 1:57 pm
by Cirqueira
Willi,

Finally an exemple (TCP RSCLIENT/RSSERVER) that works well, thanks for the tip.

Re: REXX with CPICOMM for zOs environment

PostPosted: Mon Aug 21, 2023 4:56 pm
by willy jensen
Glad that you found it. Personally I would choose TCP over APPC any day.