2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,8 +1,8 @@
|
|||
/*REXX program (Regina) to obtain/display a file's time of modification. */
|
||||
parse arg $ . /*get the fileID from the CL*/
|
||||
if $=='' then do; say "***error*** no filename was specified."; exit 13; end
|
||||
q=stream($, 'C', "QUERY TIMESTAMP") /*get file's mod time info. */
|
||||
if q=='' then q="specified file doesn't exist." /*give an error indication. */
|
||||
say 'For file: ' $ /*display the file ID. */
|
||||
say 'timestamp of last modification: ' q /*display modification time.*/
|
||||
/*stick a fork in it, we're all done. */
|
||||
/*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