Solved

Prototyped Procedure Callp Error - AS400 RPG IV

Posted on 2011-03-15
2
1,506 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

18 Experts available now in Live!

Get 1:1 Help Now