PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.4.0 HotFix 1
- All Products
Informatica_services_installation_directory\isp\bin\infacmd pwx createDatamaps-datamapOutputDirOutput -controlFile seq_simple.xml -logFile Output\seq_simple.logINFO-verbosity
<?xml version="1.0" encoding="UTF-8"?> <!-- NOTE: Metadata file paths in this sample control file are relative to current directory. If 'infacmd' command is issued from a different directory, all relative file paths must be replaced with absolute file paths. --> <!-- xmlSchemaVersion set to 1.0 --> <DatamapGeneration xmlSchemaVersion="1.0" xmlns="http://com.informatica.cmd.pwx.createdatamaps/DatamapGeneration"> <seqGen> <!-- Global settings for datamap file name and contents --> <globalGenConfig> <schemaName>SEQSIMPLE</schemaName> </globalGenConfig> <datamapInstances> <!-- Import from a copybook with default properties --> <seqDatamapInstance> <importCopybookDetails> <filePath> <windowsPath>metadata\train61.cob</windowsPath> </filePath> </importCopybookDetails> </seqDatamapInstance> </datamapInstances> </seqGen> </DatamapGeneration>
00001 * TRAIN6 EXAMPLE COBOL COPYBOOK 00002 01 MASTER_REC. COL 73-80 00003 05 ACCOUNT_NO PIC X(9). COL 73-80 00004 05 REC_TYPE PIC X. COL 73-80 00004 05 AMOUNT PIC S9(4)V99 COMP-3. COL 73-80 00005 05 BIN-NO PIC S9(8) COMP. COL 73-80 00006 05 BIN-NO-X REDEFINES BIN-NO PIC XXXX. COL 73-80 00006 05 BIN-NO-9 REDEFINES BIN-NO PIC 9(4). COL 73-80 00007 05 DECIMAL-NO PIC S999. COL 73-80 00008 05 MASTER-DATE. COL 73-80 00009 10 DATE-YY PIC 9(2). COL 73-80 00010 10 DATE-MM PIC 9(2). COL 73-80 00011 10 DATE-DD PIC 9(2). COL 73-80 00012 05 OTHER-DATE REDEFINES MASTER-DATE. COL 73-80 00013 10 OTHER-YY PIC 9(2). COL 73-80 00014 10 OTHER-MM PIC 9(2). COL 73-80 00015 10 OTHER-DD PIC 9(2). COL 73-80
2013-12-05 15:29:41 INFO [MDO_34613] Configuration for this run: location=, user name=, datamap directory=Output, control file=seq_simple.xml 2013-12-05 15:29:49 INFO [MDAdapter_34100] Finding metadata. Path filter = file.dat 2013-12-05 15:29:49 INFO [MDAdapter_34100] Finding metadata. Path filter = metadata\train61.cob 2013-12-05 15:29:49 INFO [MDAdapter_34101] Fetching file metadata\train61.cob 2013-12-05 15:29:50 INFO [MDO_34612] Copybook 'MASTER_REC' has 6 possible layouts (Maximum configured limit is 1). 2013-12-05 15:29:50 INFO [JDMX2_34801] 1 records imported. 2013-12-05 15:29:50 INFO [JDMX2_34802] 9 fields imported. 2013-12-05 15:29:50 INFO [JDMX2_34803] 1 tables imported. 2013-12-05 15:29:50 INFO [MDO_34619] Datamap file 'Output\SEQSIMPLE.MAP.dmp' was written. 2013-12-05 15:29:55 INFO [MDO_34614] Run complete: 1 datamap(s) created. 0 error and 0 warning messages.