Hi,
I have a requirement where in I want to pass an URL(http request) as input to a map through command line. I am using a shell script to execute my map and to pass the required input parameters. I am not able to achieve this.
Source Adapter: HTTP.
Target Adapter: File
Command that I am trying to execute from sunsolaris box:
mercator HTTPGet.mmc \
-IAHTTP1 "'-t -URL http://www.google.co.in'" \
-OF1 test.html
I am getting the below error. Please suggest me how to pass the http request through command line.
Mercator(TM) Solaris(TM) Execution Engine - version 2.1.1(551)
Copyright (C) 1994-1999 TSI International Software Ltd.
Map file: httptest.mmc -IAHTTP1 '-t -URL http://www.google.co.in' -OF1 test.html
In # 1: 0 Out # 0: 0 Time: 0:00
Map could not complete (12): Source not available (0.000 seconds)
Error detected in running map, exiting.
Any help would be highly appreciated.
Regards
DSTXEAI