Solved

Prototyped Procedure Callp Error - AS400 RPG IV

Posted on 2011-03-15
2
1,543 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perform a system restore through Safe Mode with command prompt 3 123
Monitoring IBM System x through PRTG 7 146
dsquery command line assistance 2 125
wireless name in LAN adapter 14 80
Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
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.

756 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