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

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

Calling error

View previous topic View next topic Go down

Calling error

Post  rajkumar400 on Mon Dec 27, 2010 2:47 pm

Program A calls program B with invoice# ( 10S 0) as a parameter.

Program B receives Invoice# as a incoming parameter ( Invoive# is a file field).

But when program b is called i get a runtime error " PGMB 400 decimal-data error in field (C G S D F)"

Help me to fix this error.

Code goes as follows:

PGMA
______
IDS DS
I I 123456789 1 90INV
C CALL 'PGMB'
C PARM 3 INV 90
C SETON LR

PGMB
________

FINVOICEPF IF E DISK
C *ENTRY PLIST
C PARM INV#
C INV# DSPLY
C SETON LR

___________

Thanks.
Raj



rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

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