Page 1 of 1

Jobstatus list

Posted: Fri Sep 07, 2001 11:31 am
by admin
Hello,

for better maintenance of our projects I need a list with the status (like
director) over all projects with following informations:

- project
- category
- job
- status

What is the best way to do this?

My first effort was reading UV.ACCOUNT -> connect to each project, get a jobhandle and call DSGetJobInfo. But how to leverage this? I think to use a cursor, but there is no cursor in UniBasic and for matread I need a static array. Any comments or solutions?

best regards,

Udo

Posted: Sun Sep 09, 2001 12:00 am
by admin
Where do you want to put the list? What you want to do is certainly possible in a loop in BASIC, with calls to DSGetProjectInfo and DSGetJobInfo functions. You can declare a dimensioned array or, probably more appropriately, use dynamic arrays. Or write the results into a hashed file or into a sequential file for subsequent processing.