https://github.com/walmartlabs/zUID
Courtesy of Walmart Matt Hogstrom +1 (919) 656-0564 > On Oct 31, 2019, at 18:51, Charles Mills <charl...@mcn.org> wrote: > > There is a PL/I function to do this. > > https://www.ibm.com/support/knowledgecenter/en/SSY2V3_5.1.0/com.ibm.ent.pl1.zos.doc/lr/lsh_uuid.html > > > I am not familiar with how to call a PL/I BIF from COBOL (or call a PL/I > program that in turn calls a BIF) but perhaps others on this forum are. > > Charles > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Cameron Conacher > Sent: Thursday, October 31, 2019 12:40 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: How can I generate a UUID in a z/OS COBOL Program > > Hello folks, > I Have done some googling, and I found something called GETITXUID. > > I think this might satisfy my needs. > Has anyone used this? Or know of a more appropriate way to derive a UUID? > > Can I just code CALL GETITXUID()? > > I just want to be able to generate a UUID from inside a COBOL program > running in z/OS. > It might be a CICS/COBOL program or it might be a batch COBOL program, if > that makes any difference here. > > Thanks > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN