How to use Database Call by using easytrive?

The PSB needs to specify in program execute step like below.
//XXXX EXEC XXXXXXXX,PROG=XXXXXXX,PSB=XXXXXXXX

%XXXXXXXX – Record layout for database which you want to use
JOB INPUT (XXXXXXXX) – Database name
RETRIEVE XXXXXXXX +
SELECT (XXXXXXXX ID 'XX')
IF XXXX-XX = 'XX'
It read the database and record found in it.
END-IF