Universe Dictionary ITem multipart key, second par

2019-07-29 17:40发布

Trying to use

TRANS(SPEC.ORDR,@ID:"*":@RECORD<27,@CNT>,27,'X')

Universe is returning an error message on @CNT, assuming not used in our Universe flavour, anyone know what the actual trans code would be?

标签: universe
1条回答
家丑人穷心不美
2楼-- · 2019-07-29 18:20

I just realized that the CATS is base so this should work for you. A similarly built I-Descriptor on my system certainly does the concatenation correctly, but I don't have an easy to find example to test the TRANS on top. It does bring back the expected number of blanks based the on the 'X'.

TRANS(SPEC.ORDR,SUBR('-CATS',REUSE(@ID:'*'),@RECORD<27>),27,'X')

Good luck

查看更多
登录 后发表回答