Hi,

I am executing utility sasLogParserStoredProcessServer.sas for stored process server logs. I am getting below error. I have enabled debug options yet I am not able to find out error solution.

I am providing you initial error message below. Let me know if you need more details from my side.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).
298:156 298:61 298:240
NOTE: The infile SASLOG is:
Filename=/sasvol01/Temp/Utility/Stored/Log/SASApp_STPServer_2021-05-04_punevmsinsdi07_11446.log,
Owner Name=sasecm,Group Name=ecmgrp,
Access Permission=-rwxrwxrwx,
Last Modified=05 May 2021 00:05:05,
File Size (bytes)=83683

NOTE: Invalid third argument to function SUBSTR at line 298 column 134.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
1 Host: 'punevmsinsdi07', OS: 'LIN X64', Release: '3.10.0-514.el7.x86_64', SAS Version: '9.04.01M5P091
101 32017', Command: '/sasvol01/SASHome1/SASFoundation/9.4/sasexe/sas -noterminal -noxcmd -netencryptalg
201 orithm SASProprietary -metaserver punevmsinsdi07.in.sas.com -metaport 8562 -metarepository Foundatio
301 n -objectserver -objectserverparms "protocol=bridge spawned spp=43245 cid=1 dnsmatch=punevmsinsdi07.
401 in.sas.com pb classfactory=15931E31-667F-11D5-8804-00C04F35AC8C server=OMSOBJ:SERVERCOMPONENT/A5S8KX
501 6N.AZ000007 cel=credentials lb multiuser port=8612 saslangrunas=client"' 572
oldline= line=-514.el7.x86_64', SAS Version: '9.04.01M5P091 step= product=SAS9Log fileName=/sasvol01/Temp/Utility/Stored/Log/SASApp_STPServer_2021-05-04_punevmsinsdi07_11446.log realtime=. cputime=. totaltime=. totalcpu=. arg1=514 arg2=el7 x=.
7 The SAS System 14:53 Tuesday, October 5, 2021

time= _ERROR_=1 _N_=1
NOTE: Invalid third argument to function SUBSTR at line 298 column 134.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
2 Log continued from /sasvol01/SASConfigBOB/Lev2/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2021
101 -05-03_punevmsinsdi07_11446.log 131
oldline= line=toredProcessServer/Logs/SASApp_STPServer_2021 step= product=SAS9Log fileName=/sasvol01/Temp/Utility/Stored/Log/SASApp_STPServer_2021-05-04_punevmsinsdi07_11446.log realtime=. cputime=. totaltime=. totalcpu=. arg1=toredProcessServer
arg2=Logs x=. time= _ERROR_=1 _N_=2
NOTE: Invalid third argument to function SUBSTR at line 298 column 134.
3 2021-05-04T00:05:05,707 DEBUG [00000141] :sassrvecm1 - STP: Session Monitor Starting Purge. 91
oldline= line=STP: Session Monitor Starting Purge. step= product=SAS9Log fileName=/sasvol01/Temp/Utility/Stored/Log/SASApp_STPServer_2021-05-04_punevmsinsdi07_11446.log realtime=. cputime=. totaltime=. totalcpu=. arg1=STP: arg2=Session x=. time=
_ERROR_=1 _N_=3
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank You,
Sanil Divekar