select from unknown file
Posted: Sun May 24, 2020 10:54 pm
hey,
i use lansa on ibm i,
i need to select records from unknown file.
the user will write the file name into field and the function need to select the record from that file.
please if someone know any way to do it.
thatks
i use lansa on ibm i,
i need to select records from unknown file.
the user will write the file name into field and the function need to select the record from that file.
Code: Select all
SELECT FIELDS((*ALL)) FROM_FILE(#FILE)
ADD_ENTRY TO_LIST(#LIST01) WITH_MODE(*DISPLAY)
ENDSELECT
thatks