Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with dynamic output file

Status
Not open for further replies.

oscarse

Programmer
Apr 9, 2006
99
CA
We have been using a VAN for several years and are now in the process of sending direct (FTP) to our partners ... the map that was built to send to the VAN outputs one file containing multiple ISA segments normally one for each Partner ... I have created a process using the EXTRACT function to separate the Partners however occasionally there are more then one ISA per partner which is not accepted by the Partner. I looked over this forum and the tutorial for Mercator 6.7 ... it sounds like it may be possible to create a functional map with a call that either uses a put or a run but haven't found a way to add these as a rule to an output card ... I have isolated the Partner and ISA control number and want to use these as the filename to separate multiple ISA's ... currently I was going to use the output of this ISA#,Partner map to then call with an EXTRACT and use a dos batch script to rename the output file but at this point I was hoping someone could give me an example of how to use the PUT and or RUN commands in a rule and where that rule would go ei in a call to a functional map?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top