F0911

newjde

Member
I create a program to update F0911 using the server X091101.
The Update doesn't work.
The call of the X091101 is done with PARM : DS0911, PSERR, $ACT='U', $9RRN=GLDOC, $9MBRN='1'.
When I debug it, the program make the Call of the server X091101 and the server go through the UPDATE line but nothing is done in the file.
Any idea to solve this problem please.
 
Just some thoughts (w/o actually seeing the code):

Insure your profile has *CHANGE rights to the F0911.

If that is not it what is the value of the $ERTST flag?

Insure that the value of the GLDOC is a valid RRN in the F0911.

While debugging you program, have it debug the X091101 and see what the problem is encountering.

Other ways:

Instead of writing a program that does this modify one that already does work.

Post the F0911Z1 and then run a proof and post to the F0911 -- always my choice. (Keeps the F0911 clean).

Good luck.

FS



Fred Short
Senior Systems Engineer
Alltel Information Services
World Vison 7.3
One World B7.33
 
Oh yeah -- the ability to *CHANGE should be both the IBM and JDE security function and I am assuming you are under the iSeries platform based on the wording (or my interpretation of) your question. There wasn't any indication of your environment.

Again,

Good Luck

Fred



Fred Short
Senior Systems Engineer
Alltel Information Services
World Vison 7.3
One World B7.33
 
Are you putting anything in the 0911 data structure? That is what that
parameter DS0911 does - have to fill all the fields for the F0911 and put in
that data structure before calling the server program. Or is it a situation
where the UPDATE itself is failing? If the update is failing, have you set
your debug job to log all messages, including CL messages, then looked at
those messages to see why the Update is failing? Maybe there is OS/400
security on the file that causes the update to fail. At least two things to
consider here.

John Dickey
JDE Financial Systems
Administrator/Programmer/Analyst
White-Rodgers, Division of Emerson
St. Louis, MO
314-577-1466
 
Re: RE: F0911

HiThank you for giving valuable suggestions.The Update itself is failing. The debug show that the indicator of update in the server is *ON even if the DS contain F0911 data structure. Finaly I got the solution by using a tempory file for update and my program made a test to trait records witch are present in the two files. Regards
 
Back
Top Bottom