It's all about the answers!

Ask a question

How do I run a shell script in ASCII on USS?

Spencer Murata (2.3k115971) | asked Jan 21 '13, 12:15 p.m.
 How do I run a shell script in ASCII on USS?  I have a script that runs on z/OS from a Unix mounted drive.  Can I run the script on z/OS?

Accepted answer

permanent link
Spencer Murata (2.3k115971) | answered Jan 21 '13, 12:16 p.m.
It may be sufficient to mount the filesystem and tag it as ASCII, as described in The article refers to Linux filesystems, but the approach should be similar.

The chtag command can be used to mark files as ASCII and make them readable in EBCDIC filesystems, if the actual script is being copied to the USS system to be executed. Once tagged, USS should execute it properly.

chtag -tc ISO8859-1

would tag the script as ASCII.

Spencer Murata selected this answer as the correct answer

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.