Good Morning, I am trying to implement a queue to send printing job to
a file using a program that I found in this forum:

PROMPT ''
ID = TRIM(UPCASE(SYSTEM(1015))):".TXT"
DIRECTORY = 'E:\temp'
OPENSEQ DIRECTORY,ID TO S.FILE THEN NULL
*
LOOP
  NUMCHARS = SYSTEM(14)
  WHILE NUMCHARS DO
   INPUT LINE,NUMCHARS
   LINE := CHAR(13)
   WRITESEQ LINE ON S.FILE ELSE NULL
REPEAT
WEOFSEQ S.FILE ELSE NULL
CLOSESEQ S.FILE


But it is not working because SYSTEM(14) always returns 0.
I found, also in this forum, that SYSTEM(14) does not pass the input
buffer count when it is run in 3.4.x using the spooler under TELNET.

How can work around this issue to substitute SYSTEM(14) ?

THANKS IN ADVANCE FOR YOUR HELP.

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

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

Reply via email to