Use a dimensioned array
DIM FN.FILE.NAME(1000)
....
CALL OPF(FN.FILE.NAME(I).F.FILE.NAME<I>)
...
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Zahid
Hasan
Sent: Thursday, May 19, 2016 4:41 AM
To: jBASE <[email protected]>
Subject: Opening of a file using dynamic array not working
Hi,
Hope you all are doing great. I am facing a problem to work with a multi
thread routine more specifically opening of a number of files using a dynamic
array in XXX.LOAD routine. Scenario is as follows
suppose:
SEL.LOAD.LIST = 'ACCOUNT':FM:'CUSTOMER':FM:'AZ.ACCOUNT':FM:'DRAWINGS'
NO.CNT = DCOUNT(SEL.LOAD.LIST,FM)
FOR I=1 TO NO.CNT
FN.FILE.NAME<I> = SEL.LOAD.LIST<I>
F.FILE.NAME<I> = ''
CALL OPF(FN.FILE.NAME<I>,F.FILE.NAME<I>)
NEXT I
I have added F.FILE.NAME in .COMMON also but it's not working. Another point is
if I open a file in XXX.SELECT routine,whether all agent can trace this in main
routine.
Whether in jBASE, opening of a file using dynamic array is not allowed? Please
let know if any other alternative is there.
Have a nice day
-----
Best Regards,
Md. Zahid Hasan
Technical Consultant
DataSoft Systems BD Ltd
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected] To unsubscribe, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.