Actually - the bit checking for a userid() EXEC will see RC0 and try and execute every time -- the rc ^= 28 is checking the rc of the SET CMSTYPE RT - not the STATE. Use PIPE (e.g. PIPE CMS STATE ..... | HOLE) and forget about CMSTYPE ;-)
Scott Rohling On Wed, Oct 5, 2011 at 2:18 PM, David Boyes <[email protected]> wrote: > Bletch. Left out a line in previous post. Use this step 3 instead. > > > > 3) Create a PROFILE EXEC on COMMON 191 that looks something like this: > > > /* REXX */ > 'say 'Formatting swap disks' > 'SWAPGEN xxxxxxxx' /* replace xxxxxxx with correct swapgen parms */ > 'SET CMSTYPE HT' > u = userid() > 'STATE' u 'EXEC A' > 'SET CMSTYPE RT' > If rc ^= 28 then do > 'EXEC' u 'EXEC A' > end > say 'Booting Linux' > 'CP IPL 150' > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
