PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

2 posters

Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE Empty ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran Mon Jul 27, 2009 8:21 pm

When I call a CL program which has numeric field as a parameter from the command line, I am getting an error. Why could be the possible reasons?
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE Empty Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran Mon Jul 27, 2009 8:22 pm

When I call a CL program which has numeric field as a parameter from the command line, I am getting an error. What could be the possible reasons?


- Pass the numeric field without quotes (""/ ' ').

or

check in the program whether the value that is passed to the numeric field is correct.
_________________
Thanks & Regards,
Anupama M.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE Empty Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran Mon Jul 27, 2009 8:22 pm

If you pass more than the allowed length, you will get error. It only accept maximum of 15, 5 for Dec and 32 for Char.
_________________
Regards,
Razuk.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE Empty Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  rajapandian Sat Aug 29, 2009 10:02 pm

ITS DUE TO DECIMAL DATA ERROR

YOU CAN PASS IT AS 15.5 AS LENGTH

ALSO GIVING PARAMETER IN HEXA DECIMAL FORM

rajapandian

Posts : 5
Join date : 2009-08-06

Back to top Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE Empty Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum