Hi,
I'm using this JCL to load a table using a file, but I need to set one of the table fields to CURRENT_TIMESTAMP.
How can I do it?. Thanks.
//MGJ16417 JOB BD,'MINIBK',MSGCLASS=X,CLASS=D,
// REGION=0M,NOTIFY=TSDEGMD,
// RESTART=*
/*JOBPARM S=SYSB
//*********************************************
//**LOAD DE LA TABLA D1BPEPA.T6001AE **
//*********************************************
//T6001AE EXEC DSNUPROC,SYSTEM=DBD1,UID='T2131FL',UTPROC='',TIME=500
//STEPLIB DD DISP=SHR,DSN=DB2910.DESA.SDSNLOAD
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(450,45),RLSE)
//SORTOUT DD UNIT=SYSDA,SPACE=(CYL,(450,45),RLSE)
//SYSERR DD UNIT=SYSDA,SPACE=(CYL,(450,45),,,ROUND)
//SYSMAP DD UNIT=SYSDA,SPACE=(CYL,(450,45),,,ROUND)
//SYSREC DD DISP=SHR,DSN=TSDX.OF1641.MGJ16416.MGP16415.SALIDA
//SORTWK01 DD SPACE=(CYL,(500,50),RLSE)
//SORTWK02 DD SPACE=(CYL,(500,50),RLSE)
//SORTWK03 DD SPACE=(CYL,(500,50),RLSE)
//SORTWK04 DD SPACE=(CYL,(500,50),RLSE)
//SORTWK05 DD SPACE=(CYL,(500,50),RLSE)
//SORTWK06 DD SPACE=(CYL,(500,50),RLSE)
//UTPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LOAD DATA INDDN SYSREC REPLACE LOG NO NOCOPYPEND
INTO TABLE D1BPEPA.T6001AE