Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Utilities
  3. createdatamaps - Data Map Creation Utility
  4. DTLCCADW - Adabas PCAT Utility
  5. DTLCUIML - IMS Log Marker Utility
  6. DTLINFO - Release Information Utility
  7. DTLREXE - Remote Execution Utility
  8. DTLUAPPL - Restart Token Utility
  9. DTLUCBRG - Batch Registration Utility
  10. DTLUCDEP - CDEP Maintenance Utility
  11. DTLUCSR2 - IDMS SR2 and SR3 Records Utility
  12. DTLUCUDB - DB2 for Linux, UNIX, and Windows CDC Utility
  13. DTLULCAT and DTLULOGC - IDMS Log Catalog Utilities
  14. DTLURDMO - Data Map Utility
  15. DTLUTSK - Task Control Utility
  16. EDMLUCTR - Log Scan and Print Utility
  17. EDMXLUTL - Event Marker Utility
  18. HOSTENT - TCP/IP Address Reporter Utility
  19. PWXCATMY - MySQL Catalog Utility
  20. PWXUCCLPRT - Print Log Summary Utility
  21. PWXUCDCT - Logger for Linux, UNIX, and Windows Utility
  22. PWXUCREG - Capture Registration Suspend Utility
  23. PWXUCRGP - Capture Registrations Print Utility
  24. PWXUDMX - Data Maps Update Time ECSA Memory Utility
  25. PWXUGSK - SSL Reporting Utility for z/OS
  26. PWXUMAP - Map List Utility
  27. PWXUSSL - PowerExchange SSL Reporting Utility

Example: Simple VSAM KSDS Data Map

Example: Simple VSAM KSDS Data Map

This example describes a control file that creates a KSDS data map and imports simple copybook metadata.
The control file is similar to the one for creating a simple SEQ data map. The control file defines the following properties:
  • Global properties: schema name
  • Data map instance properties: copybook location
Default values for all other properties are defined in the schema file. Because KSDS is the default for globalMapType, this example creates a KSDS data map.
Command Line
To run this example on the Informatica services machine, enter the following command at the command line:
Informatica_services_installation_directory
\isp\bin\infacmd pwx createDatamaps
-datamapOutputDir
Output -controlFile vsam_simple.xml
-logFile
Output\vsam_simple.log
-verbosity
INFO
Control File
The control file for this example, vsam_simple.xml, contains the following lines:
<?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 datamap file name and contents --> <globalGenConfig> <schemaName>VSAMSIMPLE</schemaName> </globalGenConfig> <datamapInstances> <!-- Import from a copybook with default properties --> <vsamDatamapInstance> <importCopybookDetails> <filePath> <windowsPath>metadata\train61.cob</windowsPath> </filePath> </importCopybookDetails> </vsamDatamapInstance> </datamapInstances> </vsamGen> </DatamapGeneration>
COBOL Copybook
This example imports metadata from the train61.cob copybook. For the contents of this copybook, see Example: Simple SEQ Data Map.
Log File
The log file for this example, vsam_simple.log, contains the following lines:
2013-12-05 15:30:14 INFO [MDO_34613] Configuration for this run: location=, user name=, datamap directory=Output, control file=vsam_simple.xml 2013-12-05 15:30:21 INFO [MDAdapter_34100] Finding metadata. Path filter = file.dat 2013-12-05 15:30:21 INFO [MDAdapter_34100] Finding metadata. Path filter = metadata\train61.cob 2013-12-05 15:30:21 INFO [MDAdapter_34101] Fetching file metadata\train61.cob 2013-12-05 15:30:22 INFO [MDO_34612] Copybook 'MASTER_REC' has 6 possible layouts (Maximum configured limit is 1). 2013-12-05 15:30:22 INFO [JDMX2_34801] 1 records imported. 2013-12-05 15:30:22 INFO [JDMX2_34802] 9 fields imported. 2013-12-05 15:30:22 INFO [JDMX2_34803] 1 tables imported. 2013-12-05 15:30:22 INFO [MDO_34619] Datamap file 'Output\VSAMSIMPLE.MAP.dmp' was written. 2013-12-05 15:30:28 INFO [MDO_34614] Run complete: 1 datamap(s) created. 0 error and 0 warning messages.
Data Map File
This example creates a data map with the following file name and relative path:
  • Output\VSAMSIMPLE.MAP.dmp

0 COMMENTS

We’d like to hear from you!