Post by njdreams GoldaPost by njdreams GoldaNeed help,
How we can do the key positioning in FILE_SETKEY_ guardian call when the
file is
Guardian Procedure Calls Reference Manual
https://support.hpe.com/hpesc/public/docDisplay?
docLocale=en_US&docId=a00022744en_us
#include "$system.zsysdefs.zsysc"
#include <cextdecs>
#define POSITION_APPROXIMATE 0
#define POSITION_GENERIC 1
#define POSITION_EXACT 2
#define PRIMARY_KEY 0
error = FILE_SETKEY_(fnum, (char *)&key, (short)sizeof(key)
,PRIMARY_KEY
,POSITION_APPROXIMATE
,ZSYS_VAL_SETKEYOPT_READREVERSE
/*, compare length */);
Although the link to the Guardian Procedure Calls manual that JShepherd includes currently works, HPE sometimes publishes new versions of a manual that are given different URLs, and sometimes rearranges the document library in other ways.
A way to find a document for the NonStop system that is likely to work for a longer amount of time is to go to this page:
www.hpe.com/info/nonstop-docs
then click on the link for the type of NonStop system (J-series or L-series),
then fill in appropriate keywords for a search to locate the manual you need.
The keywords can be words in the title of the manual or words in the body of the manual.