Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions content/docs/latest/language/hplsql/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Initially it was provided as a stand alone command line tool. As a part of ([HIV
| Name | Description |
| --- | --- |
| [ACTIVITY_COUNT]({{< ref "activity_count" >}}) | Number of rows affected by last SQL statement |
| [HOSTCODE]({{< ref "hostcode" >}}) | Return code of the last OS command |
| [SQLCODE]({{< ref "sqlcode" >}}) | Return code of the last SQL statement |
| [SQLSTATE]({{< ref "sqlstate" >}}) | Return status of the last SQL statement |

Expand All @@ -76,9 +75,6 @@ Initially it was provided as a stand alone command line tool. As a part of ([HIV
| [CALL]({{< ref "call" >}}) | Execute a stored procedure |
| [CLOSE]({{< ref "close" >}}) | Close a cursor |
| [CMP]({{< ref "cmp" >}}) | Compare data in tables |
| [COPY]({{< ref "copy" >}}) | Copy data between tables and files |
| [COPY FROM FTP]({{< ref "copy-from-ftp" >}}) | Copy FTP files to Hadoop compatible file system |
| [COPY FROM LOCAL]({{< ref "copy-from-local" >}}) | Copy local files to Hadoop compatible file system |
| [CREATE DATABASE]({{< ref "create-database" >}}) | Create a database |
| [CREATE FUNCTION]({{< ref "create-function" >}}) | Create a user-defined SQL function |
| [CREATE LOCAL TEMPORARY TABLE]({{< ref "create-local-temporary-table" >}}) | Create a session-level temporary table |
Expand All @@ -100,7 +96,6 @@ Initially it was provided as a stand alone command line tool. As a part of ([HIV
| [FOR cursor]({{< ref "for-cursor" >}}) | FOR statement (Cursor loop) |
| [FOR range]({{< ref "for-range" >}}) | FOR statement (Integer range) |
| [GET DIAGNOSTICS]({{< ref "get-diagnostics" >}}) | Get execution information |
| [HOST]({{< ref "host" >}}) | Execute an OS command or run an external process |
| [IF]({{< ref "if" >}}) | IF statement |
| [INCLUDE]({{< ref "include" >}}) | Include statements from another script |
| [INSERT]({{< ref "insert" >}}) | INSERT statement |
Expand Down Expand Up @@ -167,11 +162,6 @@ Initially it was provided as a stand alone command line tool. As a part of ([HIV
| [UPPER]({{< ref "upper" >}}) | Convert a string to upper case |
| [USER]({{< ref "functions/user.md" >}}) | Get the current user name |

## Commands

| Command | Description |
| --- | --- |
| [! cmd;]({{< ref "host" >}}) | Execute an OS command or run an external process |

## File I/O Operations

Expand Down
29 changes: 0 additions & 29 deletions content/docs/latest/language/hplsql/built-in-variables/hostcode.md

This file was deleted.

32 changes: 0 additions & 32 deletions content/docs/latest/language/hplsql/statements/copy-from-ftp.md

This file was deleted.

45 changes: 0 additions & 45 deletions content/docs/latest/language/hplsql/statements/copy-from-local.md

This file was deleted.

75 changes: 0 additions & 75 deletions content/docs/latest/language/hplsql/statements/copy.md

This file was deleted.

53 changes: 0 additions & 53 deletions content/docs/latest/language/hplsql/statements/host.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,3 @@ insert overwrite directory '/data/sales_' || current_date

<!-- **Version**: HPL/SQL 0.3.17 -->

See also:
- [COPY]({{< ref "copy" >}})
- [COPY FROM LOCAL]({{< ref "copy-from-local" >}})
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ The *hplsql.onerror* option defines how HPL/SQL handles errors.
Values:

- **exception** - HPL/SQL raises an exception when an error occurs. This is the default.
- **seterror** - HPL/SQL sets the error code to SQLCODE or HOSTCODE variables and continues execution
- **seterror** - HPL/SQL sets the error code to SQLCODE variables and continues execution
- **stop** - HPL/SQL stops executing the script and exits.

For more information, see [Error Handling]({{< ref "error-handling" >}}).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In this case when an error occurs, HPL/SQL raises an exception. If there is an e

- **Seterror**

When Seterror is specified, HPL/SQL sets the error code to SQLCODE or HOSTCODE variables and continues execution.
When Seterror is specified, HPL/SQL sets the error code to SQLCODE variables and continues execution.

- **Stop**

Expand Down
Loading