I get this:

: /u/t311lbd/.profile 4: FSUM7351 not found

Line 4 is:

if [ "$UID" = "0" ]

I've tried doing this at the shell prompt without success as well

--------------------------------------------------------------------------
Lionel B. Dyck (Contractor)
Mainframe Systems Programmer 
Enterprise Infrastructure Support (Station 200) (005OP6.3.10)
VA OI&T Service Delivery & Engineering

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: Tuesday, April 19, 2016 8:00 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Changing OMVS Prompt to indicate SuperUser challenge

On Tue, Apr 19, 2016 at 6:57 AM, Dyck, Lionel B. (TRA) <lionel.d...@va.gov>
wrote:

> I added this code to my /etc/profile
>
> ​​
> 000033 UID=`id -u `
> 000034 if [ "$UID" = "0" ]
> 000035 then
> 000036   export PS1=`uname -n `:'$LOGNAME':'$PWD':' # '
> 000037 else
> 000038   export PS1=`uname -n `:'$LOGNAME':'$PWD':' $ '
> 000039 fi
>
> And now get this when executing:
>
> FSUM7351 not found
>
> Please advise
>
> This is on z/OS 2.2
>
>
​I put those lines in the /etc/profile on z/OS 2.2. I did a simple cut'n'paste 
from your message. I did not get any error messages. I was not logging in as 
"root". What I would suggest is that you put the command:

set -x

in front of those lines, so that they will "echo" to the terminal before they 
are run. Be sure to put the command "set +x" at the end to turn off the 
echoing.​


--
"He must have a Teflon brain -- nothing sticks to it"
Phyllis Diller

Maranatha! <><
John McKown

----------------------------------------------------------------------
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

Reply via email to