Home > Ask the AS/400 Experts > Questions & Answers > Copy multiple files into one DB2 file
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Copy multiple files into one DB2 file

Kent Milligan EXPERT RESPONSE FROM: Kent Milligan

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 19 January 2004
How do you copy multiple stream files into one DB2 file using wildcard (*) at the cpyfrmstmf command?

 
CPYFRMSTMF FROMSTMF('/usr/sap/bgt/edilink/snd/orde/orde*+  
             TOMBR('/qsys.lib/sap.lib/edibgt.file/edibgt+
             .mbr') MBROPT(*REPLACE)    

>

You can't - CPYFRMSTMF does not allow patterns (wildcard characters) to be specified. If you're trying to take multiple stream files to one database file you have to issue the command multiple times, using MBROPT(*ADD).

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this Search400.com Featured Topic: Database issues resolved


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts