for my project i have to create User defined command, i am able to careate a command but i am facing some issue in Specifying (Displaying) the text that is displayed to the right of the prompt line of each parameter on the prompt screen. It is working fine if i use the field length less than 13 but i could not get it right if i use the field length greater than or equal to 13. i do not know whether i have explained my issue correctly...
for example
My code looks like the folloiwng
CMD PROMPT('Test Command')
PARM KWD(TEXT) TYPE(*NAME) LEN(3) RSTD(*NO) +
CHOICE('TEXT1 OR TEXT2') +
PROMPT('TEXT')
PARM KWD(TEST) TYPE(*CHAR) LEN(13) RSTD(*NO) +
CHOICE('TEXT1 OR TEXT2') +
PROMPT('FIELD LENGTH 13')
the result looks like the folliwng
TEXT . . . . . . . . . . . . . . TEXT1 OR TEXT2
FIELD LENGTH 13 . . . . . . . .
but i want to display TEXT1 OR TEXT2 for the second field also (Field length 13)
i have tried all the possible ways whcih i know. i doubt there is some restriction to display this... would be great help if any one give me some suggetions
thanks
aravind
for example
My code looks like the folloiwng
CMD PROMPT('Test Command')
PARM KWD(TEXT) TYPE(*NAME) LEN(3) RSTD(*NO) +
CHOICE('TEXT1 OR TEXT2') +
PROMPT('TEXT')
PARM KWD(TEST) TYPE(*CHAR) LEN(13) RSTD(*NO) +
CHOICE('TEXT1 OR TEXT2') +
PROMPT('FIELD LENGTH 13')
the result looks like the folliwng
TEXT . . . . . . . . . . . . . . TEXT1 OR TEXT2
FIELD LENGTH 13 . . . . . . . .
but i want to display TEXT1 OR TEXT2 for the second field also (Field length 13)
i have tried all the possible ways whcih i know. i doubt there is some restriction to display this... would be great help if any one give me some suggetions
thanks
aravind




Comment