The management console has been showing many function failures for years and I’ve pinpointed the code/card that produces them. Output Card #2 and #6 produce a “failed at run function,” argument “MyGetFTP” and reason 12 – Source not available.
The map is on a time event every 5 minutes and can pulls multiple files from a server and builds the file (one) in a staging folder.
Output 1 CmgrFileName 1:="841ci.d" +
WORD(DATETOTEXT(CURRENTDATE()),"/",3) + WORD(DATETOTEXT(CURRENTDATE()),"/",1) + WORD(DATETOTEXT(CURRENTDATE()),"/",2) + ".t" + LEAVEALPHANUM(TIMETOTEXT(CURRENTTIME())) + ".mi.ppi"
Output 2 ClearStaging:=RUN("MyGetFTP.mmc", "-WM -IF1X 'E:\mercator6.7\cmgr\mmgr\staging\" + CMgrFileName +
"' -OASINK1 -OASINK2 ")
Output 3: FTP Lookup
Output 4: FTP functional maps calls
Output 5: Create Logs
Output 6:=RUN("MyGetFTP.mmc", "-WM -IF1X 'E:\mercator6.7\cmgr\mmgr\staging\" + CMgrFileName + "' -OF1X0 'E:\mercator6.7\cmgr\mmgr\mail\" + CMgrFileName + "' -OE2")
So basically, it seems as though on a time event, if there are no files on their server, output card 2 erros. If there are files, 2 and 6 both error, I suspect since the staging folder is building and the file is not datetimestamped to release?
Any solutions for card 2 and 6?
Also, this staging folder that builds the files sometimes completes (datetimestamp official), but the map never clears the folder. Not sure if this is related.
The map is on a time event every 5 minutes and can pulls multiple files from a server and builds the file (one) in a staging folder.
Output 1 CmgrFileName 1:="841ci.d" +
WORD(DATETOTEXT(CURRENTDATE()),"/",3) + WORD(DATETOTEXT(CURRENTDATE()),"/",1) + WORD(DATETOTEXT(CURRENTDATE()),"/",2) + ".t" + LEAVEALPHANUM(TIMETOTEXT(CURRENTTIME())) + ".mi.ppi"
Output 2 ClearStaging:=RUN("MyGetFTP.mmc", "-WM -IF1X 'E:\mercator6.7\cmgr\mmgr\staging\" + CMgrFileName +
"' -OASINK1 -OASINK2 ")
Output 3: FTP Lookup
Output 4: FTP functional maps calls
Output 5: Create Logs
Output 6:=RUN("MyGetFTP.mmc", "-WM -IF1X 'E:\mercator6.7\cmgr\mmgr\staging\" + CMgrFileName + "' -OF1X0 'E:\mercator6.7\cmgr\mmgr\mail\" + CMgrFileName + "' -OE2")
So basically, it seems as though on a time event, if there are no files on their server, output card 2 erros. If there are files, 2 and 6 both error, I suspect since the staging folder is building and the file is not datetimestamped to release?
Any solutions for card 2 and 6?
Also, this staging folder that builds the files sometimes completes (datetimestamp official), but the map never clears the folder. Not sure if this is related.