[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Unix command in SQR
- Subject: [sqr-users] Unix command in SQR
- From: "Borde, Gopal S" <gopal-borde@uiowa.edu>
- Date: Wed, 4 Aug 2004 13:58:44 -0500
- Delivery-date: Wed, 04 Aug 2004 14:01:26 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AcR6VRB4NHArkDvhS8KKdBdQJVr2GQ==
- Thread-topic: Unix command in SQR
Friends,
I am trying to issue following UNIX command in SQR to list names of all
*.txt files in a folder.
------
let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename
'{' || '}' ";" > /ora10/inbound/evoucher/dan.lis'
call system using $com1 #s wait
However program erred with following message
Error on line 49:
(SQR 4707) No value found for substitution variable: {}
let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename
'{}' ";" > /ora10/inbound/evoucher/dan.lis'
Error on line 49:
(SQR 4008) Unknown function or variable in expression: {}'
let $com1 ='find /ora10/inbound/evoucher -name "*.txt" -exec basename
'{}' ";" > /ora10/inbound/evoucher/dan.lis'
Any suggestion to run this command will be appreciated.
Thanks.
Gopal Borde
ITS Dept
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users