Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Prototyped Procedure Callp Error - AS400 RPG IV

Posted on 2011-03-15
2
Medium Priority
?
1,570 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 35

Accepted Solution

by:
Gary Patterson earned 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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.

916 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