Also, make sure that the ACID in question can access the TCP facility. If it's not an issue who uses TCPIP on your system, then do
TSS ADD(ALL) FAC(TCP) else, do TSS ADD(-the failing ACID) FAC(TCP) -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Steven Conway Sent: Friday, January 25, 2008 8:18 AM To: [email protected] Subject: Re: Initapi errno 156 Dude, you're running on an unsupported OS, with obsolete Top Secret software. Ugly! OK, OK, I'm sure that is not your choice, but it needed to be said, dammit! :-) I'm sure you checked this stuff, but: Check the TSS Violation report to see if the failure made it to TSS. From the violation report, grab the failing ACID. Verify it is what you expect it to be. Do a list on the ACID: TSS LIST(acid) data(all) Verify the failing ACID has either a GROUP/DFLTGRP and UID under SEGMENT OMVS, or that Top Secret has a default User and Group defined in its control options under OMVSUSER / OMVSGRP. If these are in place, it's time to start checking for restrictions on use of IP functions. BTW, I've found TSS support to be very responsive and helpful. Harder as a third-party, I know. Um, if this -isn't- the Scott Ford I've been talking to the last few days on another topic, please ignore the smart-assery. Cheers,,,Steve Steve Conway Lead Systems Programmer Information Systems & Services Division Computer & Network Operations Phone: (703) 450-3156 Fax: (703) 450-3197 Scott Ford <[EMAIL PROTECTED]> Sent by: IBM Mainframe Discussion List <[email protected]> 01/24/2008 07:47 PM Please respond to IBM Mainframe Discussion List <[email protected]> To cc Subject Initapi errno 156 Hi all, I am running a z/OS 1.6 system and we are developing software using the IP stack. One of our LPARS runs Top Secret and TCPIP and all of its applications. I have written a Cobol STC that executes the following Cobol Statement. Call 'EZASOKET' USING SOKET-INITAPI MAXSOC INITAPI-IDENT SUBTASK MAXSNO ERRNO IP-RETCODE We then receive a Errno 156 which is according to the Socket Return Codes This indicates a z/OS Unix process initialization failure. This is usually an indication that a proper OMVS RACF segment is not defined for the user ID associated with application. The RACF OMVS segment may not be defined or may contain errors such as an improper HOME() directory specification. The same code is working on a RACF Lpar and an ACF2 Lpar. Since this is failing on a Top Secret Lpar ( R8 of TSS ), I assume something is defined wrong in OMVS. Where do I start looking ? I looked at the OMVSGRP definition and don't see anything strikingly wrong.. Regards, Scott ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.10/1241 - Release Date: 1/24/2008 9:58 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.10/1241 - Release Date: 1/24/2008 9:58 AM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

