Oracle Tuxedo Application Runtime for CICS and Batch 12cR1: IDCAM REPRO For VSAM(RDB) To VSAM(RDB) Copy Is Not Working (Doc ID 1582119.1)

Last updated on MARCH 07, 2014

Applies to:

Oracle Tuxedo Application Runtime for CICS and Batch - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When using ART Batch and VSAM to Oracle migration(or DB2), IDCAM REPRO(m_FileRepro) does not work.

migrate PJ01AAA.SS.VSAM.CUSTOMER and PJ01AAA.SS.VSAM.CUSTOMER.BK to Oracle tables.

And following JCL runs

//STEP1    EXEC PGM=IDCAMS
//DDOUT    DD DSN=PJ01AAA.SS.VSAM.CUSTOMER.BK,DISP=SHR
//DDIN     DD DSN=PJ01AAA.SS.VSAM.CUSTOMER,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
  REPRO INFILE(DDIN) OUTFILE(DDOUT) REUSE
/*

convert ksh is here:

(STEP1)
       m_FileAssign -d SHR DDOUT ${DATA}/PJ01AAA.SS.VSAM.CUSTOMER.BK
       m_FileAssign -d SHR DDIN ${DATA}/PJ01AAA.SS.VSAM.CUSTOMER
       m_OutputAssign -c "*" SYSPRINT
       m_FileAssign -i SYSIN
# IDCAMS REPRO
       m_FileRepro -i DDIN -o DDOUT
_end

       m_UtilityExec
       JUMP_LABEL=END_JOB

 Result is here:

Rebuild successful - records read =         1
========= Checking table(s) for ODCSF0BBK =========
  OK: table CUSTOMER_BK exists
         mi_FileCopy: Internal Error (mi_RDBFileFromLseq
"/home/oracle/workspace/IDCAMStest/deploy/BATCH_RT/tmp/REPROCUST_0000001
6__2"
"/home/oracle/workspace/IDCAMStest/deploy/data_deploy/PJ01AAA.SS.VSAM.CU
STOMER.BK") RC=127
         mi_FilePrintRepro: Internal Error (mi_FileCopy
/home/oracle/workspace/IDCAMStest/deploy/BATCH_RT/tmp/REPROCUST_00000016
__2
/home/oracle/workspace/IDCAMStest/deploy/data_deploy/PJ01AAA.SS.VSAM.CUS
TOMER.BK) RC=123
ERROR    m_FileRepro: The internal action function (mi_FilePrintRepro -f
REPRO -i DDIN -o DDOUT) returns a code different from 0 (123)

  

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms