- 论坛徽章:
- 0
|
多谢afeng8848的回复
试着修改了一下
但是还是有问题
去掉了actgrp(*new)用15来编译时的提示为:
1 hdftactgrp(*no) bnddir('qc2le')
======> aaaaaaaaa
*RNF1324 20 a 000100 Keywords DFTACTGRP, ACTGRP, or USRPRF are not al
修改成actgrp(*caller)用15来编译时的提示为:
1 hdftactgrp(*no) actgrp(*caller) bnddir('qc2le')
======> aaaaaaaaa bbbbbb
*RNF1324 20 a 000100 Keywords DFTACTGRP, ACTGRP, or USRPRF are not al
*RNF1324 20 b 000100 Keywords DFTACTGRP, ACTGRP, or USRPRF are not al
上面两种办法用14编译后的提示则都是:
Errors were found during the binding step. See the job log for more informa
* * * * * E N D O F B I N D D I A G N O S T I C M E S S A G E S
Program TEST003 in library SRCLIN not created.
* * * * * E N D O F C O M P I L A T I O N * * * * *
如果把dftactgrp(*no)和actgrp(*new)都去掉用15编译的话
成功生成了一个
Opt Object Type Attribute Text
TEST003 *MODULE RPGLE
然后用了命令
crtpgm pgm(srclin/test3) module(srclin/test003)
结果没有成功
用dspjoblog看了一下
提示的信息为
4 > crtpgm pgm(srclin/test3) module(srclin/test003)
Binding directory qc2le in library *LIBL not found.
Definition not found for symbol 'rand'.
Definition not found for symbol 'srand'.
Program TEST3 not created.
后来又尝试了
5 > crtpgm pgm(srclin/test3) module(srclin/test003 QSYS/QC2LE)
No modules found for the specified value of QC2LE in library QSYS.
Program TEST3 not created.
但是按照下面链接:
http://wiki.midrange.com/index.php/Using_QC2LE_procedures_in_ILE_RPG
输入了WRKBNDDIRE QSYS/QC2LE命令
Work with Binding Directory Entries
Binding Directory: QC2LE Library: QSYS
Type options, press Enter.
1=Add 4=Remove
--------Creation---------
Opt Object Type Library Date Time
QC2SYS *SRVPGM QSYS 02/20/02 09:10:38
QC2IO *SRVPGM QSYS 10/22/03 19:00:16
QC2UTIL1 *SRVPGM QSYS 02/20/03 14:20:55
QC2UTIL2 *SRVPGM QSYS 02/20/02 09:10:48
QC2UTIL3 *SRVPGM QSYS 05/01/02 17:48:19
QC2IFS *SRVPGM QSYS 02/20/03 16:09:35
QC2POSIX *SRVPGM QSYS 11/07/03 13:42:30
QC2LOCAL *SRVPGM QSYS 02/20/02 09:10:35
More...
Parameters or command
===>
F3=Exit F4=Prompt F9=Retrieve F5=Refresh F12=Cancel F17=Top
F18=Bottom
Already at top of area.
的确有反应 |
|