ibm - AS400 Macro, input fields count -


5250 emulator:

5250 emulator

hello everyone, want operator count input fields shown on attached picture. in case have 5 input field.

thanks in advance , best regards

it can done! download source: http://www.code400.com/ffd.php

you can comment out getkey section ffdrpg won't need , cause fall on anyway.

also, rememember when use command, put record format name in display file name - don't leave *first in there or you'll fields first record format in display file.

edit: you'll need add field listds data structure:

d listds          ds                  d  sffld                  1     10    d  sftype                11     11    d  sfuse                 12     12    d  bufferout             13     16b 0 d  fieldlen              21     24b 0 d  digits                25     28b 0 d  decimals              29     32b 0 d  fielddesc             33     82    

if add 3rd field sfuse, can check whether contains 'i' count input capable fields.

check out quslfld api https://www.ibm.com/support/knowledgecenter/en/ssw_i5_54/apis/quslfld.htm if want see information can retrieved api.

the example in download uses basic format fldl0100 more information can retrieved if ask format fldl0200 or fldl0300 take longer execute , shouldn't need info achieve you're after.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -