Ran it fresh this morning and still do not get any records.
Here is all the SQL.
/FREE
EXEC sql
DECLARE C1 cursor for
SELECT
JOB_NAME AS jobname
FROM QSYS2.RECORD_LOCK_INFO
WHERE SYS_TNAME= :File
AND RRN= :Record#;
EXEC sql
OPEN C1;
EXEC sql
FETCH C1 INTO :jobname;
dow sqlcod<>100 and sqlcod>=0;
Exsr loadrtn;
EXEC sql
FETCH C1 INTO :jobname;
enddo;
Exfmt schctl1;
If *in12=*off;
exsr killjobs;
endif;
EXEC sql
CLOSE C1;
*inlr=*on;
/END-FREE
Tom Deskevich
******************
Tom Deskevich
Programmer/Analyst
P: 814-472-6066 x134
F: 814-472-5019
E: TDeskevich@xxxxxxxxxxxxxxxxxx
172 Gateway Road PO Box 568
Ebensburg, Pennsylvania
15931
www.harrislocalgov.com
This message has been sent on behalf
of a company that is part of the Harris Operating Group of
Constellation Software Inc. These companies are listed at the
following link:
http://subscribe.harriscomputer.com
Unsubscribe Option:
If you do not wish to receive any future email, please unsubscribe
by clicking on the following link:
http://subscribe.harriscomputer.com
This message is
intended exclusively for the individual or entity to which it is
addressed. This communication may contain information that is
proprietary, privileged or confidential or otherwise legally exempt
from disclosure. If you are not the named addressee, you are not
authorized to read, print, retain, copy or disseminate this message
or any part of it. If you have received this message in error,
please notify the sender immediately by e-mail and delete all copies
of the
message.
As an Amazon Associate we earn from qualifying purchases.