>2,START(YES),means that system will automatically issue a START >command to invoke JES2 procedure. However,which procedure name >system'll use in STARTcommand? S JES4?
First an answer to your second Q (it's a short one): The SUBNAME. >1,here you use 'JES4' and maybe I could use another name such as >'ABCD'.Then, how could the system know that the subsystem you want >to initialize is JES2? Put it in another word,how to establish the >relationship between the SUBNAME and the corresponding subsystem? Apart from what I wrote about implying SUB=MSTR on the start command the system does not care about whether the STC's JOBNAME and the subsystem's SUBNAME match or not. It does not keep record of that relationship. The system builds SSCVTs from the IEFSSNxx entries and the STC needs to find its SSCVT in order to point to its SSVT (the function matrix). If you name the subsystem ABCD and the STC WXYZ everything will work provided the program running in WXYZ knows its SSCVT is "named" ABCD. If the subsystem implements functions (via SSVT), e.g. listening for commands, it needs to place a routine in common storage and point to ist entry point from the SSVT. "MVS" will simply give control to that entry point when appropriate, e.g. when a command has been entered, without knowing which STC this routine belongs to. In fact, the even doesn't have to be a STC around. If you can build your function entirely within common storage and don't need an own address space, you don't need an STC to stay alive after your code was initialized. It's long since I dealt with this, so I hope I haven't mixed up things too seriously. I'm sure some will correct me should I. Peter Hunkeler Credit Suisse - Information Technology ---------------------------------------------------------------------- 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

