The PLIST format is the same regardless of language; for AMODE 24 or AMODE 31 it's just a list of pointers with the high bit of the last pointer set. However, the Devil is in the details.
If you are calling a main program, REXX handles everything. If you are calling a program that doesn't expect a specific runtime environment, e.g., LE, to have been initialized, then as long as you can create the proper parameters, REXX handles everything. I don't know of any way to call a program that expects an existing LE environment or that requires any input beyond R14-R1. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Cameron Conacher [conac...@gmail.com] Sent: Monday, March 22, 2021 9:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Can I use a REXX PLIST when calling a COBOL program? Hello everyone, I have been busy playing with an old support pac from IBM that enables REXX to call an Assembler routine that in turn invokes EXCI. Not terribly important, but I thought the PLIST interface between REXX and Assembler was pretty slick. I had not seen it before. (and the support pac was from 1996!) It got me to wondering if I could do something similar with REXX calling a COBOL routine. Can I pass a PLIST from REXX to a COBOL program? If I can pass the PLIST, do I need to parse the pointer list myself, or can I just list out the linkage section items in the order I expect them. Thanks for any thoughts, .......Cameron ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN