Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cil-increase the number of digits

Status
Not open for further replies.

klobo1970

IS-IT--Management
Feb 10, 2016
9
HR
Hy,


my CIL records all incoming and outgoing calls, but in logging files represents only 10 numbers of call from mobile numbers. I need 11 numbers, how can i increase thatm which comand to use.

Thnx for advice.
 
A new format must be defined with the CLFOC command

This is the original:
<CLFOP;
OUTPUT FORMAT DATA
FORM DATA
1 2 3 4 5 6 7 8 9 10
0 3M 4P 1M 4K 1M 1H 1M 3A 3C 1M
15G 1M 4E 1M 15D
1 3M 4P 1M 5K 1M 2I 1M 3A 3C 1M
20G 1M 10E 1M 15D 1M 6F 1M 3S 1M
2R 1M 9T
2 3M 4J 4P 1M 5K 1M 4N 1M 2I 1M
5A 5C 1M 20G 1M 10E 1M 15D 1M 6F
1M 3S 1M 2R 1M 2O* 1M 9T
3 3M 4P 1M 4K 1M 1H 1M 3A 3C 1M
20G 1M 5E 1M 15D 1M 6F 1M 9T
END


Redefine everything with format 5:
EDEQI:DEV=SI-0,EQU=1-1-50-1,PRIO=C;
EDICC:DEV=SI-0,BAUDR=9600,WORDL=8,STPBIT=1,PARITY=NO,ELLEV=V28,PROC=NO;
EDFII:FILE=PETYA;
EDDFI:DEV=SI-0,FILE=PETYA;
CLFOC:FORM=5,DATA=1-3M&2-2J1&3-2J2&4-2J3&5-1M&6-6P1&7-1M&8-5K&9-4N&10-1M;
CLFOC:FORM=5,DATA=11-2I&12-1M&13-5A&14-5B&15-1M&16-20G&17-1M&18-20E&19-1M&20-15D,APPEND=YES;
CLFOC:FORM=5,DATA=21-1M&22-6F&23-1M&24-9T&25-1M&26-9T2,APPEND=YES;
CLOHI:FILE=PETYA,FORM=5,DMPSIZ=1,DISCR=0,LOGABN=YES,HRTBT=NO,LOGFAL=3;
CLODI:FILE=PETYA;
CLTGI;

After programming:
<CLFOP;
OUTPUT FORMAT DATA
FORM DATA
1 2 3 4 5 6 7 8 9 10
0 3M 4P 1M 4K 1M 1H 1M 3A 3C 1M
15G 1M 4E 1M 15D
1 3M 4P 1M 5K 1M 2I 1M 3A 3C 1M
20G 1M 10E 1M 15D 1M 6F 1M 3S 1M
2R 1M 9T
2 3M 4J 4P 1M 5K 1M 4N 1M 2I 1M
5A 5C 1M 20G 1M 10E 1M 15D 1M 6F
1M 3S 1M 2R 1M 2O* 1M 9T
3 3M 4P 1M 4K 1M 1H 1M 3A 3C 1M
20G 1M 5E 1M 15D 1M 6F 1M 9T
5 3M 2J1 2J2 2J3 1M 6P1 1M 5K 4N 1M
2I 1M 5A 5B 1M 20G 1M 20E 1M 15D
1M 6F 1M 9T 1M 9T2
END


The problem was 10E in the original format 2 (calling number was 10 characters), this was fixed in 20E in format 5 (calling number 20 characters) and one or two others. The date format has even been improved, the duration is accurate to seconds, not in 6-second increments.

The output format will change, check the positions before processing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top