Not sure if the ! can be escaped in any way, but I saw it is possible to set another character in the options as the pathname substitution character. In my case I would definitately prefer to use an ssh session or the omvs shell, but I was looking if there were options for users that have less experience with unix to still be able to give commands this way.
I also found out that you can use dirname and basename to get the directory name and filename portion of the path. cd `dirname !`;pwd;basename !; Kind regards, Erik. On Thu, 2 Jun 2022 15:33:46 -0500, Paul Gilmartin <[email protected]> wrote: >On Thu, 2 Jun 2022 15:19:47 -0500, Erik Janssen wrote: > >>Ah yes, it is actually on the panel; 'Use the pathname substitution character >>!' :-) >>That what I was looking for, I already thought that there had to be some way, >>I just didn't notice it. >>I was already using 3.17 basically, but since some recent z/os release you >>can just type in a unix directory under 3.4 and it will automatically bring >>you to 3.17. From the responses so far this seems like a well hidden feature >>:-) >>So, what works for me is to put an X for the . (current directory) in the >>filelist, then use cd !;git status as a command with option 2 (login shell). >> >Wouldn't it be simpler to work under a z/OS UNIX shell rather than struggling >with >the recondite conventions of ISPF? > >BTW, how can one use a literal "!", not as a pathname substitution character? > >-- >gil > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
