Page 1 of 1

quikjob

Posted: Tue Dec 22, 2009 6:00 pm
by spawar4
Hi,

I am trying to use the below code in my Program for executing quikjob utility but the below code is not allowed and my job is abending with RC=ABENDU3333.

MOVE C"'" TO OFA36.
abend reason: INVALID AREA NAME

MOVE TIME-HH TO OFA48-49.
MOVE C'.' TO OFA50.
MOVE TIME-MM TO OFA51-52.
MOVE C'.' TO OFA53.
MOVE TIME-SS TO OFA54-55.
MOVE C'.' TO OFA56.

abend reason: INVALID AREA NAME

The "'" and TIME-HH etc. are not allowed.

Get back to me ASAP.

Posted: Thu Dec 24, 2009 2:56 pm
by vrajx
use the following code to acheive it

Code: Select all

MOVE C'''' TO OFA36.             
MOVE VAL62-63 TO OFA48-49.      <-- this contains HH 
MOVE C'.' TO OFA50.              
MOVE VAL65-66 TO OFA51-52.      <- this contains MM
MOVE C'.' TO OFA53.              
MOVE C'00'    TO OFA54-55.       
MOVE C'.' TO OFA56.            


The VAL62-66 contains the system time in HH:MM format.

Topic deleted by Admin

Posted: Fri Jan 15, 2016 8:58 pm
by academyindia4
<< Content deleted By Admin >>