Write a JOB card with CLASS, MSGCLASS and NOTIFY=&SYSUID
Write a minimal JOB card with an accounting field, CLASS, MSGCLASS and NOTIFY=&SYSUID, so JES2 on z/OS 3.1 messages you when the job ends.
A job starts with a JOB card, and four things on it matter in practice: where the job runs, where its output goes, and who gets told.
//PAYJOB JOB (ACCT1),'PAYROLL RUN',CLASS=A,MSGCLASS=H,
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEFBR14JOB PAYJOB(JOB01234) SUBMITTED
$HASP165 PAYJOB ENDED AT N1 MAXCC=0000 CN(INTERNAL)CLASS=A picks the job class, which decides which initiators may run it, and your installation defines what each letter means. MSGCLASS=H sends the job log and system messages to output class H, commonly a held class, so the output waits on the spool for you to read. NOTIFY=&SYSUID is a system symbol that JES2 on z/OS 3.1 replaces with the user ID that submitted the job, so the same card works for everyone and the end message goes to whoever submitted it.
The text in parentheses is the accounting information, and the quoted text is the programmer name. Both are installation rules, so copy the format your site uses. The class letters and the held message class above are examples, not defaults.