Hi guys,
I hit the send bottom too soon...
Basically I need to add the result of a CMS command at the beginning of each
record, and current date at the end of the record (or viceversa).
I want to execute the commands only ones, place them in a variable and insert
those variables in the pipe, before and after the SPECS ...
crdate = date(standard)
say 'date is ' crdate
thishost = strip(VMINQ(vmhost))
say 'host is ' thishost
'pipe (endchar ?)',
'< AUDIT EXTRCT1',
'| a1: locate (29-32) /0690/ ',
'| SPECS /thishost/ 1 ',
'| specs 21-28 9 41-48 19 29-32 29 ',
'| b: faninany',
'| > AUDIT SUBset3 A',
'? a1:',
'| a2: locate (29-32) /1090/ ',
'| SPECS 21-28 9 33-40 19 29-32 29',
'| b: '
would like to insert THISHOST to the beginning of each record and CRDATE at the
end of the same...
How can I do this?
Thank you...
Miguel