Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I copy MPE/iX Capture Files using Warehouse ?

capture copy files IX MPE warehouse
0
Posted

How do I copy MPE/iX Capture Files using Warehouse ?

0

Copying Capture File records with Warehouse is tricky because of the MPE/iX file system. The output file should be built first with variable length records and the modes for both the input and output files should have a “v” in front to indicate variable length record access. For example: Your MPE/iX BUILD statement should look like this: BUILD CAPTOUT;REC=-8960,,V,ASCII Your Warehouse OPEN statement to read the source Capture File should look like this: OPEN CAPTIN FIXED CAPTIN MODE=vr Your Warehouse OPEN statement to write to the target Capture File should look like this: OPEN CAPTOUT FIXED CAPTOUT MODE=vw Your Warehouse COPY statement to write to the target Capture File should look like this: COPY CAPTIN TO CAPTOUT Tip : copying Capture File records using Warehouse in this fashion will succeed, but will require more disk space the original Capture file. This is because the full Capture File record is written to the target file resulting in wasted disk space at the end of most records

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.