Forgot your password?
I am practicing writing RPG IV programs and I came across an interesting program that I have been trying to get it to work but with no luck. Any ideas will be greatly appreciated. Thanks.
by:theo kouwenhovenPosted on 2008-08-04 at 14:08:01ID: 22156236
I can't see it in this source, the F9 key must be specified in your DDS file DATECALCD
in the top part of your DDS source you have to include the next line:
A line like that should be there allready if your F10 is working
Get unlimited access to solutions & experts
Get Access Now
You may select up to five topics.
Ask My Question
Article by alainbryden
The purpose of this article is to suggest some tips for common messed up installations and uninstallations, and related registry entries.
If you have a windows machine with reported duplicate programs, phantom (missing) programs, or programs that refuse to uninstall, these are the instructions for you.
I thought I deleted this program?
Tips for a clean uninstallation
Remove a duplicate entry or entry referring to a program that is no longer there.
Can't find the entry in the registry
What are all these other entries?
The file used for uni…
Article by gr8gonzo
I've never met a perfect developer, but I've met several who have taken significant steps towards becoming one! Use the following tips to develop better, faster applications:
Step #1: Write for Lots of Visitors
A common mistake for most developers is to focus so much on making something work that they don't think about how it will work when 100 people hit it all at once. Sometimes 100 simultaneous visitors seems SO far away that developers just figure they'll fix that problem when it comes up. That's the wrong attitude to have - there often is no simple, magic patch to fix t…
Video by Rodney Barnhardt
Video by Joe Winograd
Answer by momi_sabag
Question: We have an RPG program and I want to call it from my stored proc in AS400...
The RPG program formats something and I need to call it and use the returned result...
so how about that
wrap the rpg program as a db2 external stored procedure
and then, call that stored procedure from your sql stored procedure,
i believe this is the simplest most direct solution you could find
Answer by theo kouwenhoven
Question: I am asking this question on behalf of my team. If you need more specifics about the AS400 or RPG please let me know.
I am a Windows/ Java Developer who works on a team that includes AS400/ RPG Programmers. We would very much like to learn how to invoke a web service/ web request from within the AS400 using the RPG Programming language. …
Answer: Hi modul8or,
I'm not a Java expert, and don't know how to get parameters from a java program, but maybe this link will help:
Answer by Gary Patterson
I am having a Physical file(Flat File with one field of record Length 1700) which is having 5000 record ftped from the client every 30 minutes , there is a batch job (RPG Program) which then loads the file in to our application system basically every 30 minutes.
OK the problem is I am getting Decimal data Error in the RPG PGM,
Answer: Starting at the top, scan the listing for "Statement in Error". Look at a compile listing for the RPG program at line 411 - that is the line that is causing a problem. With a low number like this, it is possibly happening during I/O on a file or a data structure. That line …
Question: I'm trying to call a very simple C ILE service program from RPG.
The C function looks like this:
I'm able to call it using the RPG code below...
However, when I step through the C function in debug, instead of 3 and 4, a and b equal 319266122 and 1593839616. So when they get added together th…
Answer: You have to get you declarations right, first. I overlooked the packed return value on the line: d AddPR pr 5 0 ExtProc('Add')As Tom points out, that needs to be 10i 0, too.Odds are, you're just stepping on a buffer by having the field sizes inconsistent.…
Join Experts Exchange
About Experts Exchange