windows 10.
OE 11.7
I was testing PASOE, but found that following procedure throws an error:
@openapi.openedge.export FILE(type="REST", executionMode="single-run", useReturnValue="false", writeDataSetBeforeImage="false").
/*------------------------------------------------------------------------
File : veh01001.p
Purpose :
Author(s) :
Created : Wed Jun 07 09:32:12 CDT 2017
Notes :
----------------------------------------------------------------------*/
/* *************************** Definitions ************************** */
BLOCK-LEVEL ON ERROR UNDO, THROW.
DEFINE TEMP-TABLE ttVehiculo LIKE Vehiculo.
/* ********************** Internal Procedures *********************** */
@openapi.openedge.export(type="REST", useReturnValue="false", writeDataSetBeforeImage="false").
PROCEDURE leeVehiculos:
/*------------------------------------------------------------------------------
Purpose:
Notes:
------------------------------------------------------------------------------*/
DEFINE OUTPUT PARAMETER TABLE FOR ttVehiculo.
EMPTY TEMP-TABLE ttVehiculo.
FOR EACH Vehiculo NO-LOCK:
CREATE ttVehiculo.
BUFFER-COPY Vehiculo TO ttVehiculo.
END.
END PROCEDURE.
This is the error on the browser:
{"_errors":[{"_errorMsg":"ERROR condition: veh01001.p Single-run main-block procedure ended with an ERROR condition. (8025) (7211)","_errorNum":8025}]}
And this is the definition of resource:
Any clue?
Thanks
|
|
Thanks Geir
There was it!!!
A no database connected!!!
Sorry. Novice error