REXX with CPICOMM for zOs environment



IBM's Command List programming language & Restructured Extended Executor

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?
Cirqueira
 
Posts: 4
Joined: Thu Jul 25, 2013 1:30 am
Has thanked: 1 time
Been thanked: 0 time

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: 682
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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
User avatar
Pedro
 
Posts: 682
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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).
willy jensen
 
Posts: 446
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 68 times

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
Has thanked: 1 time
Been thanked: 0 time

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.
Cirqueira
 
Posts: 4
Joined: Thu Jul 25, 2013 1:30 am
Has thanked: 1 time
Been thanked: 0 time

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.

These users thanked the author willy jensen for the post:
Cirqueira (Tue Aug 22, 2023 10:17 am)
willy jensen
 
Posts: 446
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 68 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post