ij Commands and Errors Reference,
Page 30 of 37


[top]
[prev]
[next]
Documentation Top
Index for This Book

Absolute
After Last
Async
Autocommit
Before First
Close
Commit
Connect
Disconnect
Driver
Elapsedtime
Execute
Exit
First
Get Cursor
Get Scroll Insensitive Cursor
Help
Last
MaximumDisplayWidth
Next
Prepare
Previous
Protocol
Readonly
Relative
Remove
Rollback
Run
Set Connection
Show Connections
Wait For

Run

Syntax

RUN String

Description

Assumes that the value of the string is a valid file name, and redirects ij processing to read from that file until it ends or an Exit command is executed. If the end of the file is reached without ij exiting, reading will continue from the previous input source once the end of the file is reached. Files can contain Run commands.

ij prints out the statements in the file as it executes them.

Any changes made to the ij environment by the file are visible in the environment when processing resumes.

Example

 ij> run 'setupMenuConn.ij';
 ij> -- this is setupMenuConn.ij
 -- ij displays its contents as it processes file
 ij> connect 'jdbc:cloudscape:menuDB';
 ij> autocommit off;
 ij> -- this is the end of setupMenuConn.ij
 -- there is now a connection to menuDB and no autocommit.
 -- input will now resume from the previous source.
 ;
 ij> 
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.