Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
/*REXX program obtains and displays a file's time of modification. */
|
||||
parse arg $ . /*obtain required argument from the CL.*/
|
||||
if $=='' then do; say "***error*** no filename was specified."; exit 13; end
|
||||
q=stream($, 'C', "QUERY TIMESTAMP") /*get file's modification time info. */
|
||||
if q=='' then q="specified file doesn't exist." /*set an error indication message. */
|
||||
say 'For file: ' $ /*display the file ID information. */
|
||||
say 'timestamp of last modification: ' q /*display the modification time info. */
|
||||
/*stick a fork in it, we're all done. */
|
||||
Loading…
Add table
Add a link
Reference in a new issue