Hi all
I have a subprocedure and i need to update some data from a file by the O-Specs.
Here some of the code, the subprocedure retrieves some "next number":
I have tested many ways, like setting the O-Specs at the end of the whole code, inside the subrpocedure as we can see above, but i get always the same errors, it's like the O-Specs are not in the correct place:
Any help? or al least any other way of updating the file? (It is a system/36 database, it has no DDS), that is why i use O-Specs.-
I have a subprocedure and i need to update some data from a file by the O-Specs.
Here some of the code, the subprocedure retrieves some "next number":
PHP Code:
P rtvNextEndoso b
D rtvNextEndoso pi 5 0
/free
k211ram = ds25.p25ram;
chain key211 sc211p1;
if %found;
end211 += 1;
except upd;
endif;
return end211;
/end-free
OSC211P1 E upd
O end211 28
P rtvNextEndoso e
PHP Code:
*RNF0258 30 2 Form-Type entry is not valid for subprocedures, or is out o
sequence.
*RNF7025 30 1 The operand for operation EXCPT is not defined.
*RNF7030 30 1 The name or indicator is not defined.
Comment