Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Prototyped Procedure Callp Error - AS400 RPG IV

Posted on 2011-03-15
2
Medium Priority
?
1,563 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 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.

705 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