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.

Calling error

Go down

Calling error Empty Calling error

Post  rajkumar400 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

Back to top Go down

Back to top

- Similar topics

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