REXX with CPICOMM for zOs environment

IBM's Command List programming language & Restructured Extended Executor
Cirqueira
Posts: 4
Joined: Thu Jul 25, 2013 1:30 am
Skillset: Suporte MVS
Referer: in internet

REXX with CPICOMM for zOs environment

Postby Cirqueira » Sat Aug 19, 2023 2:42 am

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?

User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: REXX with CPICOMM for zOs environment

Postby Pedro » Sun Aug 20, 2023 11:23 am

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
Pedro Vera

User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: REXX with CPICOMM for zOs environment

Postby Pedro » Sun Aug 20, 2023 11:28 am

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
Pedro Vera

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: REXX with CPICOMM for zOs environment

Postby willy jensen » Sun Aug 20, 2023 2:54 pm

No, but I have a working sample for a TCP client/server app in REXX. Origin was TCPIP.SEZAINST(RSSERVER) and TCPIP.SEZAINST(RSCLIENT).

Cirqueira
Posts: 4
Joined: Thu Jul 25, 2013 1:30 am
Skillset: Suporte MVS
Referer: in internet

Re: REXX with CPICOMM for zOs environment

Postby Cirqueira » Mon Aug 21, 2023 3:22 am

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.

Cirqueira
Posts: 4
Joined: Thu Jul 25, 2013 1:30 am
Skillset: Suporte MVS
Referer: in internet

Re: REXX with CPICOMM for zOs environment

Postby Cirqueira » Mon Aug 21, 2023 1:57 pm

Willi,

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

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: REXX with CPICOMM for zOs environment

Postby willy jensen » Mon Aug 21, 2023 4:56 pm

Glad that you found it. Personally I would choose TCP over APPC any day.


  • Similar Topics
    Replies
    Views
    Last post