I wanted to execute a program in a PDS from my java program running in USS, and I found out about the useful sticky bit.
The documentation for the chmod +t uss command says "For a file, the sticky bit causes a search for the program in the user's STEPLIB, the link pack area, or link list concatenation."
In the directory with my other programs I used the touch fred command to create a null file. I then used chmod +t fred and my program could now execute program FRED from my //STEPLIB.
The ls -ltr command then gave me
-rwxrwxrwt 1 PAICE TSOUSER 0 Oct 2 23:44 ./bin/fred showing the t flag, and the 0 size
Without this I got
java.io.IOException: Cannot run program "fred": EDC5130I Exec format error. (errno2=0x0B1B0C28)
(CODE=ED6 ED6 CODE=0B1B0C28 0B1B0C28 )
I dont know when this came in - it works in z/OS 2.2 and is not in my z.OS 1.3 documentation
CODE=0B26C032 0B26C032 I didnt have the correct library in my STEPLIB environment variable - so it was unable to find it.