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

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

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

View previous topic View next topic Go down

ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran on 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?
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran on 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.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  maran on 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.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  rajapandian on 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

View user profile

Back to top Go down

Re: ERROR WHEN PASSING PARAMETERS FROM COMMAND LINE

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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