home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / bdos / dospls25.ark / XJOB.DOC < prev   
Encoding:
Text File  |  1986-11-04  |  1.5 KB  |  34 lines

  1. Copyright (C) 1986 by C.B. Falconer.
  2.  
  3.             XJOB for DOS+
  4.  
  5. XJOB is the logical replacement for XSUB, when using the DOS+
  6. system.  Like XSUB, only BDOS function call 10 is handled.
  7. However, XJOB can discriminate against commands (such as "dir")
  8. in the job file, since it insists that each simulated console
  9. line begin with a "*".  The "*" is stripped before the line is
  10. passed to the application, and thus the maximum line length is
  11. 127 chars.  If a line without the "*" appears it is left in the
  12. job, and console input is requested from the keyboard.  Since
  13. CCP+ (part of the DOS+ system)  treats all lines with an initial
  14. "*" as comments, this allows synchronization between application
  15. jobs and their data.
  16.  
  17. Note that, like XSUB, XJOB cannot supply console data to any
  18. program requesting input via calls 6 or 1, or by direct bios
  19. calls.  These calls will require operator entries.
  20.  
  21. To supply an empty line (e.g. PIP exit command), supply only
  22. the "*".
  23.  
  24. The job file should call XJOB before running any programs that
  25. will need XJOB console input.  The job can also force XJOB
  26. removal by calling it again.  Thus it is possible to intermix
  27. pre-cooked and actual operator input.
  28.  
  29. Unlike the SUBMIT/XSUB combination, JOB/XJOB can supply lower
  30. case input to the application with no fuss.  Simulated console
  31. lines may even be parametized.  In addition, a simulated
  32. console line containing ONLY a ^C (entered into the .JOB file
  33. by "*^^C") will cause the application to reboot.
  34. a╗