[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Opening files dynamically




Direct the output of the directory command to a file with the call
system command then open and read that file in the SQR environment.

Richard Knapp
AITS - Reporting
University of Missouri
Locust Street Building
Columbia, MO 65201
573-882-8856
knappr@umsystem.edu


-----Original Message-----
From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org
[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of
Knapp, Richard
Sent: Wednesday, July 26, 2006 2:27 PM
To: This list is for discussion about the SQR database reportinglanguage
fromHyperion Solutions.
Subject: RE: [sqr-users] Opening files dynamically


Each file needs its own file handle, at least in 4.3.  You could spawn a
command to list all the files of the type you are interested in but how
could you capture those complete names to assign them to a channel/file
handle?  What is the OS?

Richard Knapp
AITS - Reporting
University of Missouri
Locust Street Building
Columbia, MO 65201
573-882-8856
knappr@umsystem.edu


-----Original Message-----
From: sqr-users-bounces+knappr=umsystem.edu@sqrug.org
[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org] On Behalf Of
Vaidyanathan, Ramakrishnan (GE, Corporate,consultant)
Sent: Wednesday, July 26, 2006 12:55 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Opening files dynamically

Hi,
   In sqr, is it possible to open the files dynamically at run time? For
eg. I have 10 files ending with "summary.txt" ,say
<filename1>_summary.txt, <filename2>_summary.txt and so on..I need to
open all these summary.txt files for processing. If possible please send
me some sample code..
Thanks in Advance
Ram

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users