Solved

Prototyped Procedure Callp Error - AS400 RPG IV

Posted on 2011-03-15
2
1,516 Views
Last Modified: 2013-12-06
I'm getting a basic *RNF5407 error on my 'callp'.  I need another pair of eyes.  I'm sure I'm going to feel foolish once the error is pointed out, but right now I just don't see it.  Sorry to take up someone’s time with this, but if you have a minute and can look I would greatly appreciate it.  (I’m putting 500 point for the inconvenience.)

Screencast of program and error attached.   lynn-harris-427722.flv
0
Comment
Question by:lynn_harris
2 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 35142977
Yeah, this one isn't obvious unless you look at the variable cross-reference.

The prototype is declared with zero parameters.  When you called it you tried to pass 5 parameters.

If 5 parameters are required, then you've mistakenly declared them as five "S"tandalone variables after the PR declaration.  Drop the "S" on each D-spec.

- Gary Patterson
0
 

Author Closing Comment

by:lynn_harris
ID: 35143014
Thanks Again, Gary!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now