spacer
cornerspacercorner
Reply
Advisor
MarkV
Posts: 27
Registered: 05-24-2010
0 Kudos

Re: Date/time stamp in file name created by MIM in destination list

<?xml version="1.0" encoding="UTF-8"?>
<!--PM version='8.1.8.6' vendor='Metastorm, Inc'-->
<XMOFTSReq>
<label>B2B EDI210 Queue to File::TM WD.TM.INBOUND.210::WD_TRANS home/ra/cqcomm/in/</label>
<lqm>EIDTHDQ01WT_QM</lqm>
<sqm>ZEIDQHDQ00W_QM</sqm>
<dqm>trans_qa</dqm>
<oqm>EIDTHDQ01WT_QM</oqm>
<spath>xmdir://EDI210_2WDTRANS_Q2F.XML</spath>
<dpath>/home/ra/cqcomm/in/EDI210_${gmtDate}_${gmtTime}.dat</dpath>
<ttype>TEXT</ttype>
<msgsize>640</msgsize>
<delsrc>TRUE</delsrc>
<compressionLevel>5</compressionLevel>
<ControlCenter>
<doStatus>1</doStatus>
<nofixit>1</nofixit>
</ControlCenter>
<XMOFTSPreSendList>
<XMOFTSExit>
<exit>5</exit>
<exitdll>replaceFileName</exitdll>
<exitentry>replaceFileName</exitentry>
<exitqm>EIDTHDQ01WT_QM</exitqm>
<exitdata></exitdata>
<exitlabel>Pre_Rec_Exit_Point</exitlabel>
</XMOFTSExit>
</XMOFTSPreSendList>
<username>mqsid</username>
</XMOFTSReq>
Advisor
MarkV
Posts: 27
Registered: 05-24-2010
0 Kudos

Re: Date/time stamp in file name created by MIM in destination list

 
Employee
Ethan Beisher
Posts: 378
Registered: 05-10-2010
0 Kudos

Re: Date/time stamp in file name created by MIM in destination list

Please run the following from a command line and post the results:

 

xmoscrpt replaceFileName.xms -etestreplaceFileName -x

Ethan Beisher
Solutions Engineer
Business Process Solutions
Advisor
MarkV
Posts: 27
Registered: 05-24-2010
0 Kudos

Re: Date/time stamp in file name created by MIM in destination list

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

N:\>xmoscrpt replaceFileName.xms -etestreplaceFileName -x
            PM XMScript V 8.1.86.14
         Copyright  (c) 1997 - 2008 Metastorm, Inc., All Rights Reserved.
Not Compiled
XMOException:  XMScriptException
'strPolicy' undeclared identifier in line 31

  var temp=strPolicy;
  Date::new();
  temp=temp.gsub("\\${gmtDate}",Date.gmtDate);
  temp=temp.gsub("\\${gmtTime}",Date.gmtTime);

Error Code:103
(:30)

VM terminated with rc = 2000

N:\>

line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line