@profoundlogic/codermake 1.4.4 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profoundlogic/codermake",
3
- "version": "1.4.4",
3
+ "version": "1.5.0",
4
4
  "description": "Make wrapper framework for IBM i development that simplifies build rules",
5
5
  "main": "dist/bin/index.js",
6
6
  "type": "module",
@@ -145,6 +145,7 @@ ENDPGMEXP
145
145
  | `.prtf` | `.file` | Printer File (*FILE) | `CRTPRTF` |
146
146
  | `.table.sql` | `.file` | SQL Table (*FILE) | `RUNSQLSTM` |
147
147
  | `.index.sql` | `.file` | SQL Index (*FILE) | `RUNSQLSTM` |
148
+ | `.view.sql` | `.file` | SQL View (*FILE) | `RUNSQLSTM` |
148
149
  | `.file` + `.msgf` | `.menu` | Menu (*MENU) | `CRTMNU` |
149
150
  | `.msgf` (CL src) | `.msgf` | Message File (*MSGF) | `CRTMSGF` / `ADDMSGD` |
150
151
  | `.bnddir` (CL src) | `.bnddir` | Binding Dir (*BNDDIR) | `CRTBNDDIR` / `ADDBNDDIRE` |
@@ -98,7 +98,7 @@ CPD7344 30 Keyword REF not valid for this type of file.
98
98
 
99
99
  DDS errors typically reference a specific record format and line within the source.
100
100
 
101
- ## SQL DDL listings (.table.sql, .index.sql, .proc.sql)
101
+ ## SQL DDL listings (.table.sql, .index.sql, .view.sql, .proc.sql)
102
102
 
103
103
  SQL DDL statements executed via `RUNSQLSTM` produce SQL messages:
104
104
 
@@ -202,6 +202,16 @@ empname.file: empname.index.sql employee.file
202
202
 
203
203
  **CL command:** `RUNSQLSTM SRCSTMF('src/empname.index.sql') COMMIT(*NONE) DFTRDBCOL(LIB)`
204
204
 
205
+ ### SQL view from .view.sql
206
+
207
+ Creates a SQL view by running a DDL script. Typically depends on the tables it references.
208
+
209
+ ```makefile
210
+ empview.file: empview.view.sql employee.file
211
+ ```
212
+
213
+ **CL command:** `RUNSQLSTM SRCSTMF('src/empview.view.sql') COMMIT(*NONE) DFTRDBCOL(LIB)`
214
+
205
215
  ## Menus (.menu)
206
216
 
207
217
  A menu object requires both a display file and a message file.