BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Follow BOB on Twitter! 
Follow BOB on Twitter! (Opens a new window)  

General Notice: Upcoming Events: SAPPHIRE + ASUG ANNUAL CONF: May 17.

Command Line lcmBIAR asking for password


 
Search this topic... | Search General Discussion... | Search Box
Register or Login to Post    Forum Index -> General Discussion  Previous TopicPrint TopicNext Topic
Author Message
Mike Murray
Principal Member
Principal Member



Joined: 23 Dec 2005

Posts: 433
Location: Des Moines Iowa


flag
PostPosted: Thu Mar 31, 2016 11:32 am 
Post subject: Command Line lcmBIAR asking for password

I am trying to develop a process to run an lcmBIAR file in batch from command line. We have a full backup strategy in place. I want to run a weekly lcmBIAR file to help when users delete something they shouldn't have. We did this in the past in BI XI3. In BI 4.1 SP4 the promotion tool doesn't give me the option of not bringing instances in to a BIAR file so it takes forever to generate list of reports and hours to run. Here is the property file I created and when I run the lcm_cli.bat -lcmproperties command with it I see a Enter LCMBIAR password: pop up. Password is already in the properties file. Here is my properties file minus passwords of course.

LCM_CMS=devntibixi4:6400
LCM_userName=Administrator
LCM_password=PW
action=Export
exportLocation=D:\BIAR_Files\INT.lcmbiar
exportQuery1=SELECT * FROM CI_INFOOBJECTS WHERE SI_ANCESTOR=23
exportQueriesTotal=1
Source_userName=Administrator
Source_password=PW
Source_CMS=devntibixi4:6400
Source_authentication=secEnterprise

thanks in advance

_________________
Mike Murray
Back to top
richardcottave
Principal Member
Principal Member



Joined: 30 Mar 2006

Posts: 222



PostPosted: Thu Mar 31, 2016 1:05 pm 
Post subject: Re: Command Line lcmBIAR asking for password

Create a file named LCM.RESPONSE containing the passwords for your LCM and CMS. Then list it after the PROPERTIES file when you run your batch file. Something like this: lcm_cli.bat -LCMPROPERTIES.PROERTIES LCM.RESPONSE.
Back to top
Mike Murray
Principal Member
Principal Member



Joined: 23 Dec 2005

Posts: 433
Location: Des Moines Iowa


flag
PostPosted: Thu Mar 31, 2016 1:16 pm 
Post subject: Re: Command Line lcmBIAR asking for password

I will try that. I am creating lcmBIAR files but it is splitting up like XI 3.1 did into .5 GB.

When I try to read it in to the same environment I am getting this error.

Sorry, Promotion management application is unable to process your request. The error from the server is: Unable to retrieve Job from the selected file. Please check the file.(PRS 00009)Input / output exception occurred : 'C:\Windows\TEMP\INT1.lcmbiar (The system cannot find the file specified' (FWM 04013) JobFromFileFailed

File named in the error message is the second one job created and only 5kb in size. If I create a new lcmBIAR from promotion manager and write it out to the same directory I can read it.

_________________
Mike Murray
Back to top
richardcottave
Principal Member
Principal Member



Joined: 30 Mar 2006

Posts: 222



PostPosted: Thu Mar 31, 2016 1:37 pm 
Post subject: Re: Command Line lcmBIAR asking for password

I haven't seen that error. I'm able to successfully create an LCMBIAR file but when I tried import a single object it would not give the option to select only one. It was all objects or none. I created an incident with SAP and learned its a bug that will be fixed in 4.2. We are on 4.1 SP6 patch 5. So for now I have given up using LCMBIAR files as a secondary content backup strategy.
Back to top
Mike Murray
Principal Member
Principal Member



Joined: 23 Dec 2005

Posts: 433
Location: Des Moines Iowa


flag
PostPosted: Thu Mar 31, 2016 1:53 pm 
Post subject: Re: Command Line lcmBIAR asking for password

I can pull a single object from one created from promotion tool.

We have too many instances of scheduled reports and the limited options of the tool today don't help.

_________________
Mike Murray
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> General Discussion  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0526 seconds using 18 queries. (SQL 0.0031 Parse 0.0344 Other 0.0151)
CCBot/2.0 (http://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo