Thanks PHV! I tried to execute the script and it only prints the following info not the complete header string:
2/16/0515.03.30TIO01676
I need to store the complete string:
2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01
I have been trying to retrieve only the file header information from the file using AWK command and store the header string into the variable and then use the variable to append to the log file. Any advise on how can I store the file header information which starts with the string "HEADER" and...
Thanks XMB! But I do have one more question for you. If file 2 doesn't exist, how can I just simply update the log file without going through any date comparison.
Example:
file1 header:
HEADER 2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $
We just want to update...
I am trying to compare two similar files which contains differnt header date information. If header dates are different from each other I would like to update the header information to the log file. Any advise how how can I go by and update the log file.
file1 header:
HEADER...
I am trying to compare two similar files which contains differnt header date information. If header dates are different from each other I would like to update the header information to the log file. Any advise how how can I go by and update the log file.
file1 header:
HEADER...
I have a data file which contains the following header record in one ine:
--------------------------------------
HEADER 2/16/0515.03.30TIO01676CMS.TST.IWUNV676.IO01 416360 ---------------------------
I am having...
I have a file which contains the following line of header info:
_______ _______ _______ _______ _______ _______ ______ _____________ _______ ____________ ________________^MFund Cd Orgn Cd Acct Cd Prog Cd Actv Cd Locn Cd Fld Cd Field Cd Desc Grnt Yr Trans...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.