Professional Documents
Culture Documents
0
Honored Contributor
Bryce Hull
Honored Contributor
Bryce Hull
Posts: 381
Registered:
?08-17-2006
Message 5 of 11
(422 Views)
Re: AssetCenter 3.6: automating a data export from a view
Post Options
?03-05-2007 12:19 PM
Debbie,
Here is help information on using AC Export in a command line. (This is from AC
4.4 Help, 3.6 is similar, if you search the help for "amexpl" it should give you
similar results):
Executing an export script from DOS
How it works
In order to execute the DOS software "online", you must first create an export s
cript using AssetCenter Export.
You can execute, either manually or automatically (with a batch file, for exampl
e), an export command using the amexp.exe program in the bin sub-folder of the A
ssetCenter installation folder.
Syntax
amexpl [-verbose] [-?|h|H] -script:<script>
-cnx: [-login:]
[-password:]
-verbose: displays messages during the export process.
-?, -h or -H: displays help messages.
-script: path and name of the export file to execute.
-cnx: name of the connection to the AssetCenter database (as it appears in the F
ile/ Manage connections menu item).
-login: login name of the database administrator ("Admin" or a user with adminis
trative rights).
-password: password for the login.
Strings between <> cannot include spaces.
For example:
amexpl32 -verbose -script:ibmassets.scx -cnx:GeneralDatabse -login:Gerald -passw
ord:PAssword
Reply
1
Valued Contributor
Valued Contributor
Jeanna Lampart
Posts: 108
Registered:
Jeanna Lampart
?08-17-2006
Message 6 of 11
(422 Views)
Re: AssetCenter 3.6: automating a data export from a view
Post Options
?03-05-2007 12:53 PM
Looks like Bryce replied with the syntax for you.
Your .bat file would have the path to your amexpl32 file and then the code.
i.e.
C:\Program Files\Peregrine\AssetCenter\bin32
amexpl32 -verbose -script:ibmassets.scx -cnx:GeneralDatabse -login:Gerald -passw
ord:PAssword
Within AC Export you can change the formatting to comma separated and save the f
ile as a .csv file which is easily opened in Excel. Just be sure to enclose in q
uotes if you have values in ac that have comma's within them.
Reply
1
Honored Contributor
ed k.
Honored Contributor
ed k.
Posts: 605
Registered:
?03-08-2007
Message 7 of 11
(422 Views)
Re: AssetCenter 3.6: automating a data export from a view
Post Options
?03-09-2007 08:57 AM
Hi Debbie and All our friends. In our project we have automated many different w
eekly / monthly / quarterly / annual reports out of AC to Excel / Access / Txt /
Other via Connect-It gateways buy assigning them via Connect-It Service Console
to run each individual report-extract as a separate Service on the Server. Best
Regards, Ed K.
"If you see a house, you're convinced that there is a builder. If you see a garm
ent, you're convinced that there is a tailor. If you see a universe, you are con
vinced that Someone created it." (R. Akiva)
Reply
0
Honored Contributor
ed k.
Honored Contributor
ed k.
Posts: 605
Registered:
?03-08-2007
Message 8 of 11
(422 Views)
Re: AssetCenter 3.6: automating a data export from a view
Post Options
?03-14-2007 06:18 AM
Hi to ALL. One more trick with Excel and AC
In case if you are not using Connect-It with Service Console tool or not familia
r how to use it, please check next steps for automating reports in Excel format
out of AC:
End content
Open Country Selector Dialog United States
About HP
Contact us
Newsroom
Investor relations
Living Progress
Accessibility
Events
HP Labs
Jobs
Social Media
Consumer support forum
Enterprise business community
Developer community
Corporate blogs
HP on FacebookHP on LinkedInHP on Twitter
HP Partners
Become a partner
Find a reseller
PartnerOne
Customer Support
Power cord replacement
Download drivers
Register your product
HP replacement parts
Authorized service providers
Training & certification
Product recycling
Home|Email sign-up|Site map|Privacy|Cookies & ad choices|Terms of use|Recalls
2015 Hewlett-Packard Development Company, L.P.
View mobile site