Page 2 of 3
Posted: 07 Mar 2007 18:12
by zanex
you can use edsbr for users ednump for numbering plan and edabv for abb no. When you type go it will run the query and create a file in /usr4/tmp with the following filename mcsedXXXXXX where the X's are randomly generated chars - you can then pull the file off and into excel and just delimt on "|".
Posted: 08 Mar 2007 03:12
by lapepe
Great....
(1)oxe> edsbr
==========================
enter criteria or command:
==========================
What command??
Is some guide for ed tool??
Posted: 08 Mar 2007 03:32
by lapepe
It is perfectly.
I type help * and enter.
Thanks this forum.
Posted: 08 Mar 2007 03:55
by lapepe
I type my next question
here.
Thanks all.

Posted: 08 Mar 2007 08:39
by cavagnaro
After edsbr write "go" to launch the query.
Use the command edsbr
Posted: 09 Apr 2007 16:58
by finaluser
You can use the command edsbr
(1)OXE> edsbr
1 - dir -> Directory number
2 - name -> Subscriber's Name
3 - act -> ACT shelf number
4 - cpl -> Coupler number
5 - pos -> Terminal number
6 - typ -> Station type
7 - pna -> Public Network Access
==========================
enter criteria or command: dir
==========================
enter criteria or command: name
==========================
enter criteria or command: go
==========================
09/04/07 EDSBR V. 4.00 Page : 1
+--------+----------------+---+---+---+--------+---+
|dir |name |act|cpl|pos|typ |pna|
+--------+----------------+---+---+---+--------+---+
|1601 |First Lastname | 0| 5| 16|ana | 1|
|1602 |Salita deEspera | 0| 6| 1|4001 | 1|
|1605 |Fax Gerencia | 2| 4| 16|ana | 4|
.
.
.
==========================
enter criteria or command: help
==========================
Re: mgr export
Posted: 19 Apr 2007 13:24
by Eliott_DUP
lapepe wrote:
How export users to TXT file via mgr??
Another way - sample for R5.1.2-e2.504-1-ai
1st) Check which object is for Users
Code: Select all
echo "?" | mgr -line |grep ": Users"
=> 129: Users
2nd) Change the 129 for other Versions in the following code - that's all.
Code: Select all
mgr -line >export.txt <<EOFMGR
129
4
1
1
$
$
$
EOFMGR
Okay, it's a very bad format... But the question was "using mgr"....
...or cuser...
Sample for number and hardwareposition:
Code: Select all
echo "SELECT numan,crystal,coupler,position from POSTE;" |cuser |grep -v contin |grep -v "1>" >export.txt
Okay, okay. It's much better using A4760 Export ...
Re: mgr -nodico -X <file>
Posted: 04 May 2009 02:49
by tot3nkopf
Hi guys.
Is there any mgr -nodico -??? to enable direct command instead of file play?
Ex:
I would like to use smth like:
mgr -nodico -???? CREATE Called_Filter "1": "1": "5454"
(creating an entry in filtrering table)
Re: mgr -nodico -X <file>
Posted: 04 May 2009 11:10
by Eliott_DUP
echo 'SET Subscriber "101": "100" { Annu_Name = "MyName", Annu_First_Name = "MyFirstName" }' > tmp.mgr; mgr -nodico -X tmp.mgr ; rm tmp.mgr
Not nice but should do the job. (Just replace the command with the one you need)
Re: mgr -nodico -X <file>
Posted: 04 May 2009 13:57
by tot3nkopf
Eliott wrote:echo 'SET Subscriber "101": "100" { Annu_Name = "MyName", Annu_First_Name = "MyFirstName" }' > tmp.mgr; mgr -nodico -X tmp.mgr ; rm tmp.mgr
Not nice but should do the job. (Just replace the command with the one you need)
Ha, ha ... very nice. It surely does the job
Thank you Eliott.