ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » UNIX script question to run fmcibie for each FDL in dir

Post new topic  Reply to topic
 UNIX script question to run fmcibie for each FDL in dir « View previous topic :: View next topic » 
Author Message
PisgahMan
PostPosted: Mon Jan 09, 2006 8:39 am    Post subject: UNIX script question to run fmcibie for each FDL in dir Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

This is probably a simple UNIX question. What I want to do is loop thru all of the FDL files in a directory and run fmcibie for each one.

I know for one file it would be
import.sh

fmcibie -uadmin -ppassword -i$1 -t -l -yFMC

All I need to know is how to loop thru all FDL files in a directory.
Back to top
View user's profile Send private message
PisgahMan
PostPosted: Mon Jan 09, 2006 9:13 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

Nevermind I think I have it.

for filename in *.fdl
do
echo Importing FDL file $filename
fmcibie -uadmin -ppassword -i$filename -o -f -t -lImportFDLObjects.log
done
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » UNIX script question to run fmcibie for each FDL in dir
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.