Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 The STAMP edit macro provides the user with a way to easily place a DATE/TIME,
 TIME/DATE, DATE, or TIME stamp on one, some, or all the lines in a file in what
 ever column the user chooses.

 By default, STAMP will place a DATE/TIME stamp in the format of
 YY/MM/DDHH:MM:SS where ever the user's cursor is when STAMP is invoked.  By
 using special keyword parameters and standard edit command parameters, you can
 change the type of stamp and process multiple lines at a time.

 The special keywords indicate the type of stamp you would like.  They are as
 follows:

 TIME - HH:MM:SS
 DATE - YY/MM/DD
 TIMEDATE - HH:MM:SSYY/MM/DD
 DATETIME - YY/MM/DDHH:MM:SS (this is the default)

 You may specify the column number where you want to begin the stamp text
 string, and/or the excluded status of the lines you want to process, and/or a
 label range of the lines you want to process.  For instance, if hou wanted to
 place a "TIMEDATE" stamp on all the lines beginning in column 30 which did not
 contain the string "XYZ" from where you are in the file to the end of it, you
 could type the following on the command line:

 COMMAND ===> x all 'xyz';stamp timedate 30 nx .zcsr .zlast