PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.5.3
- All Products
Informatica_services_installation_directory\isp\bin\infacmd pwx createDatamaps -datamapOutputDir Output -controlFile vsam_advanced.xml -logFile Output\vsam_advanced.log -verbosity INFO
<?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"> <vsamGen> <!-- Global settings for copybooks --> <globalCopybookParserConfig> <startColumn>7</startColumn> <endColumn>72</endColumn> <maxRedefines>2</maxRedefines> </globalCopybookParserConfig> <!-- Global settings for datamap file name and contents --> <globalGenConfig> <schemaName>VSAMADV</schemaName> <datamapName>TRAIN6</datamapName> </globalGenConfig> <!-- Global access method for VSAM datamaps --> <globalMapType>RRDS</globalMapType> <datamapInstances> <!-- Datamap 1: maxRedefines is 2 from global settings, resulting in 2 datamap records --> <vsamDatamapInstance> <importCopybookDetails> <filePath> <windowsPath>metadata\train61.cob</windowsPath> </filePath> </importCopybookDetails> <datamapProperties> <vsamFileName> <zosPath>COM.INFA.RRDS1</zosPath> </vsamFileName> </datamapProperties> </vsamDatamapInstance> <!-- Datamap 2: maxRedefines value overridden to 6, resulting in 6 datamap records --> <vsamDatamapInstance> <genConfig> <datamapName>TRN6REDEF</datamapName> </genConfig> <importCopybookDetails> <filePath> <windowsPath>metadata\train61.cob</windowsPath> </filePath> <parserConfig> <maxRedefines>6</maxRedefines> </parserConfig> </importCopybookDetails> <datamapProperties> <vsamFileName> <zosPath>COM.INFA.RRDS2</zosPath> </vsamFileName> </datamapProperties> </vsamDatamapInstance> </datamapInstances> </vsamGen> </DatamapGeneration>
2013-12-05 15:30:30 INFO [MDO_34613] Configuration for this run: location=, user name=, datamap directory=Output, control file=vsam_advanced.xml 2013-12-05 15:30:38 INFO [MDAdapter_34100] Finding metadata. Path filter = COM.INFA.RRDS1 2013-12-05 15:30:38 INFO [MDAdapter_34100] Finding metadata. Path filter = metadata\train61.cob 2013-12-05 15:30:38 INFO [MDAdapter_34101] Fetching file metadata\train61.cob 2013-12-05 15:30:38 INFO [MDO_34612] Copybook 'MASTER_REC' has 6 possible layouts (Maximum configured limit is 2). 2013-12-05 15:30:39 INFO [JDMX2_34801] 2 records imported. 2013-12-05 15:30:39 INFO [JDMX2_34802] 18 fields imported. 2013-12-05 15:30:39 INFO [JDMX2_34803] 2 tables imported. 2013-12-05 15:30:39 INFO [MDO_34619] Datamap file 'Output\VSAMADV.TRAIN6.dmp' was written. 2013-12-05 15:30:39 INFO [MDAdapter_34100] Finding metadata. Path filter = COM.INFA.RRDS2 2013-12-05 15:30:39 INFO [MDAdapter_34100] Finding metadata. Path filter = metadata\train61.cob 2013-12-05 15:30:39 INFO [MDAdapter_34101] Fetching file metadata\train61.cob 2013-12-05 15:30:39 INFO [MDO_34612] Copybook 'MASTER_REC' has 6 possible layouts (Maximum configured limit is 6). 2013-12-05 15:30:39 INFO [JDMX2_34801] 6 records imported. 2013-12-05 15:30:39 INFO [JDMX2_34802] 54 fields imported. 2013-12-05 15:30:39 INFO [JDMX2_34803] 6 tables imported. 2013-12-05 15:30:39 INFO [MDO_34619] Datamap file 'Output\VSAMADV.TRN6REDEF.dmp' was written. 2013-12-05 15:30:44 INFO [MDO_34614] Run complete: 2 datamap(s) created. 0 error and 0 warning messages.