AS400 - 4

LEAVE和ITER (Iterate)用法区别[rpgle]

LEAVE和ITER (Iterate)用法区别[rpgle]

先看LEAVE (Leave a Do/For Group)的用法: The LEAVE operation transfers control from within a DO or FOR ...
阅读全文>>
格式化输出日期时间新版本[VBS]

格式化输出日期时间新版本[VBS]

格式化输出日期时间新版本: 'format the datetime string, overload the internal function FormatDateTime 代码如下: Fu...
阅读全文>>
查看log时错误Not authorized to display job log

查看log时错误Not authorized to display job log

We cannot see the job log because we have no *ALLOBJ special authority, but the profile who submi...
阅读全文>>
怎么把数字转换为开头补0的字符串?

怎么把数字转换为开头补0的字符串?

好久不做这些数字字符串来回变,生疏了。 有时候被一个小问题困扰,不如动手来一下试试就知道了。 方法没有最好,只有更好,仅供参考! rpg代码如下: d num s ...
阅读全文>>
怎么在as/400上创建tab键分隔的文件

怎么在as/400上创建tab键分隔的文件

平时我们在rpg程序中,用逗号(x'6b')来分隔字段以生成csv文件,导出后方便用户查看。但有时需要以tab键来分隔字段,对齐比较方便,在as400上该怎么做到呢? 其实tab键是在pc下分隔...
阅读全文>>