gangst...@gmail.com
unread,Aug 27, 2026, 12:24:34 PM (6 days ago) Aug 27Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jBASE
Hello,
I'm writing a program that needs to use an active list.
But READLIST doesn't read the current active list.
For example:
SELECT FBNK.CUSTOMER
100 Record Selected
>MY.PROG
PROGRAM MY.PROG
READLIST L.LST THEN
CRT "List count " : DCOUNT(L.LST, FM);
END ELSE
CRT "List is missing";
END
RETURN
>>>List is missing
However, if the active list is created inside the READLIST program, it works
SELECT FBNK.CUSTOMER
100 Record Selected
>MY.PROG
PROGRAM MY.PROG
WRITELIST CONVERT(" ", FM, "A B C") TO 0;
READLIST L.LST THEN
CRT "List count " : DCOUNT(L.LST, FM);
END ELSE
CRT "List is missing";
END
RETURN
>>>List count 3
Why is this happening? What am I doing wrong?