@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/README.md +3 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/preprocess-rpg-copy.js +1 -1
- package/dist/bin/rdf-to-dds.js +1 -1
- package/dist/lib/discovery.js +1 -1
- package/dist/lib/executor.js +1 -1
- package/dist/lib/generate-rdf-dds.js +1 -1
- package/dist/lib/license.js +1 -1
- package/dist/lib/makefile-generator.js +1 -1
- package/dist/lib/platform.js +1 -1
- package/dist/lib/preprocessor.js +1 -1
- package/dist/lib/rdf-to-post-data.js +1 -1
- package/dist/lib/rpg-copy-preprocessor.js +1 -1
- package/dist/lib/ssh.js +1 -1
- package/dist/lib/writer.js +1 -1
- package/dist/makefiles/ibmi.mk +7 -0
- package/dist/makefiles/unix.mk +7 -0
- package/package.json +1 -1
- package/skills/codermake/SKILL.md +1 -0
- package/skills/codermake/references/compile-listings.md +1 -1
- package/skills/codermake/references/file-types.md +10 -0
package/package.json
CHANGED
|
@@ -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.
|