- 论坛徽章:
- 0
|
1。OS/400执行STRSQL
2。按F13=Services
3。选择 1. Change session attributes
修改SELECT output . . . .1—>3,指定 Output file。
- Change Session Attributes
-
- Type choices, press Enter.
-
- Statement processing . . . . . *RUN *RUN, *VLD, *SYN
- SELECT output . . . . . . . . 3 1=Display, 2=Printer
- 3=File
- Output file:
- File . . . . . . . . . . . . outfile Name
- Library . . . . . . . . . qingzhou Name
- Member . . . . . . . . . . . *FILE Name, *FILE, *FIRST, *ALL
- Option . . . . . . . . . . . 1 1=Create file
- 2=Replace file
- 3=Create member
- 4=Replace member
- 5=Add to member
- Authority . . . . . . . . . *LIBCRTAUT Authorization list name
- *LIBCRTAUT, *CHANGE, *ALL
- *EXCLUDE, *USE
- Text . . . . . . . . . . . .
-
- More...
- F3=Exit F4=Prompt F5=Refresh F12=Cancel
-
复制代码
4。返回SQL执行语句画面执行SQL语句,结果将被输出到指定的OUTFILE中,然后通过CA/400的Transfer下载结果。 |
|