Translate page

Script Commands and Usage



This section describes the usage and parameter descriptions of all the script commands. The following is the basic format of a script command. These commands can be typed into any text editor. The JGS Script Editor allows you to edit the script values, and inserts commands by double clicking on the command name and icon.

<Command> "parameter"  --  where <Command> can be one of the following list of commands.  Note that the parameters are inserted automatically by the JGS Script Editor with input by the user. For the correct format for the input, refer to the command description in this section. After you read the command description, press the Back button to return to this screen.

  1. APPENDTODISK

  2. CALL

  3. CLOSE

  4. CLOSEALL

  5. CONNECT

  6. CURSOR

  7. DELIMITER

  8. DISCONNECT

  9. DO. . . WHILE

  10. DOWHILE

  11. EXIT

  12. GETFILE

  13. GLOBAL

  14. GOTO

  15. HLLAPISESSIONID

  16. IF. . . THEN. . . ELSE

  17. KEY

  18. LABEL

  19. LOOKFOR

  20. LOOKLIST

  21. LUNAME

  22. MERGE..

  23. MESSAGE

  24. PASSWORD

  25. PORT

  26. PROMPT

  27. PUTFILE

  28. REM

  29. RESETSYSVARS

  30. RUN

  31. SCREENTODISK

  32. SESSION

  33. SILENT

  34. SYSTEMDATE

  35. TERMINAL

  36. TITLE

  37. TYPE

  38. VAR

  39. VAREXTRACT

  40. VARPROMPT

  41. WAIT

  42. WHILE

Is there a command to read from a file?

There isn't a command to read from a file but you can write an application (e.g. in Excel VB Script) in which you read to a buffer, then send the buffer to the screen.
There is a sample how to build a VB Script application on our website:
https://jollygiant.com/support/faqs/  (scroll down the the section on automation).