Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-42
NEXTFILENAME
(Superseded by FILENAME_FINDNEXT_) Obtains the name of the next disk file on a
designated volume.
memory-pages, INT:value input
processor, INT:value input
process-id, INT:ref:4 unused
error, INT:ref:1 output
name, INT:ref:3 input
hometerm, INT:ref:12 input
flags, INT:value input
<10> = 0
= 1
Use the DEFINE mode of caller.
Use value in flags.<12>.
<12> = 0
= 1
DEFINEs disabled.
DEFINEs enabled.
<14> = 1
= 0
Saveabend file creation.
No saveabend file creation.
<15> = 1
= 0
Inspect.
Debug.
jobid, INT:value input
errinfo, INT .EXT:ref:2 output
pfs-size, INT(32):value input
error := NEXTFILENAME ( filename );
error, INT returned value
0No error.
1 End-of-file, there is no next file.
13 Illegal file name specification.
filename, INT:ref:12 input, output