So you need a command like 'CD .' or 'set WD=.' to define the current directory as the directory for commands to work with.
On Thu, Jun 2, 2022 at 1:36 PM Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On Thu, 2 Jun 2022 17:49:10 +0000, Sri h Kolusu wrote: > > > >Did you try option 3.17 ? Provide the path and once in the directory you > >can put a slash "/" against the file name you want to execute your command, > >it will show you a pop up something like this . Option 23 is to execute a > >command. > > > I believe that will execute the command but not change the working directory > as the OP needs. Try this with: > >e File ----- /u/user/gitdir/myfile.xxx > containing "pwd" to see whether it prints: > /u/user/gitdir # or: > /u/user > > >EsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssN > >e Directory List Actions e > >e e > >e File ----- /u/user/myfile.xxx e > >e e > >e DIRLIST Action e > >e 1. Edit 14. Information e > >e 2. Edit - ASCII 15. File System e > >e 3. Edit - UTF-8 16. Modify Mode Fields e > >e 4. View 17. Modify Extended Attrs e > >e 5. View - ASCII 18. Modify Owning User e > >e 6. View - UTF-8 19. Modify Owning Group e > >e 7. Browse 20. Modify Format e > >e 8. New 21. User Auditing e > >e 9. Directory List 22. Auditor Auditing e > >e 10. Delete 23. Execute command e > >e 11. Rename 24. Refadd e > >e 12. Copy Out 25. Manage ACLs e > >e 13. Copy In e > >e e > >e Select a choice and press ENTER to process data set action. e > >DsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssM > > > >And after that you will provided to enter you command and way to run it > > > >Pathname . . . . /u/user/myfile.xxx > > > >Enter the command below. Use the pathname substitution character ! > >to indicate where to have the pathname substituted. If not specified, the > >pathname will be appended to the end of the command. > > > >Command for file: > > > >Run method . . . 1. Direct > > 2. Login shell > > 3. TSO > > > >z/OS UNIX command time limit . . . > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN