Previous Topic: @RETURN Status CodesNext Topic: #RETURN—returns control to a program


@RETURN Example

The @RETURN statement shown below retrieves the database key for the first index entry in the EMPLNAMX set and moves the record's db-key into the LNAMXKEY field:

@RETURN FIRST,SET=EMPLNAMX,DBKEY=LNAMXKEY