Warm greetings!!
I am facing an error while passing Arguments from PANELS to SOURCE REXX CODE,that I need to pass three parameter from PANEL to SOURCE they are,
E-MAIL ID OF THE USER ===> abc@xyz.com
COMPANY NAME ===> test test
COMPANY NUMBER ===> 123456
COMPANY NAME ===> test test
COMPANY NUMBER ===> 123456
CALL PGM:
CALL PGMNAME PNEMAIL PNCONAME PNCOMNUM
Argument in REXX SOURCE CODE
ARG mail_id company_name companynumber
Output in SCREEN using SAY command i printed the 3 ARG's:
mail_id :abc@xyz.com
company_name : test
companynumber : test
company_name : test
companynumber : test
ISSUE: here the COMPANY NUMBER is holding the value TEST (Because there was a space in between the COMPANYNAME variable, it is splitting the arguments into 'n' numbers due to 'n' number of spaces.
Validation in PANEL code:
VER(&PNEMAIL,NB)
VER(&PNCONAME,NB)
VER(&PNCOMNUM,NUM)
VER(&PNCONAME,NB)
VER(&PNCOMNUM,NUM)
Please suggest me how to resolve this issue.
Thanks,
Ramsee