PARM AUTOLOG is the converse of AUTOCR, and is indeed often not well understood.
When a user is autologged, CP always stacks a console interrupt -maybe accompanied by the data that follows the linend (#) character on the XAUTOLOG command. This interrupt will satisfy the VM READ issued by CMS during its IPL. The SYSPROF EXEC is part of the game and will place the data found in the program stack. GCS at the other hand doesn't perform a console read during its default IPL. With PARM AUTOLOG you instruct GCS to issue a console read during IPL. If this is done following an XAUTOLOG, it will be satisfied by the console interrupt stacked by CP, at other times this results in a VM READ. What happens when the stacked console interrupt isn't read? With IPL CMS PARM AUTOCR, you tell CMS not to perform the normal console read, however unless the PROFILE EXEC set AUTOREAD OFF, at the end of the PROFILE EXEC, CMS does perform a console read and will find the data (and executes that as a CMS command). With SET AUTOREAD OFF, CMS will not read the stacked interrupt. When the stacked console interrupt isn't read, a CP SEND userid xxxx will be refused by CP with "user has console input waiting". This can be solved by issuing CP SEND CP userid ATTN, what tells CMS to read its console. 2008/2/5, Schuh, Richard <[EMAIL PROTECTED]>: > > > Then I guess it is time for an RCF suggesting that the RSCS manual be > updated with that statement. Thanks. > > > > Regards, > Richard Schuh > > > > > > ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas > Sent: Monday, February 04, 2008 2:08 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: RSCS question. > > > > > From the GCS manual. > Note: PARM AUTOLOG will not work properly if you try to enter it from > an IPL instruction on your console's command line. Use PARM AUTOLOG only > in directory entries. > > -----Original Message----- > From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of > Schuh, Richard > Sent: Monday, February 04, 2008 3:55 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: RSCS question. > > > > > In the planning manual, there is a note about specifying PARM AUTOLOG on > the IPL statement in the RSCS directory entry that says, "Required if > GCS is autologged." This is a bit ambiguous. GCS is autologged, but > after the system has been up for a bit, if you try to execute the > command CP IPL GCS PARM AUTOLOG on the machine (after all, GCS was > autologged, just not immediately before RSCS was recycled), RSCS fails > to start. Remove the PARM AUTOLOG, and everything works normally. > > Is this working as it is supposed to and the document in need of an RCF, > or is this a bug? > > Regards, > Richard Schuh > -- Kris Buelens, IBM Belgium, VM customer support