I am doing the production support and going through one of the routines returned some one
Part of it is
Code: Select all
CMD = "ls -a ":TmpFilePath:TmpFilePrefix:"*":TmpMarkerFileExtension
Call DSExecute ('UNIX',CMD, SrchRslts,ErrorCD)
SrchRslts = Oconv(SrchRslts,"G":DelCnt-1:"/1")
I am familier with what DSExecute
it returns the value to SrchRslts
after this
Code: Select all
SrchRslts = Oconv(SrchRslts,"G":DelCnt-1:"/1")
what does DelCnt-1 mean
and in
Code: Select all
CMD = "ls -a ":TmpFilePath:TmpFilePrefix:"*":TmpMarkerFileExtension
but no clue why it is included in quotes, does this have any additional meaning, if I go to unix prompt and give the command
"ls -a ":somepath/somefile.someextension
it says it did not find the ksh
looking for soem help from DS Guru.. to understand this..
I appreciate the help ...