1. Automation of Recharge Report
Sumarry
Presenter– Aman Raj
Mentor - Mr.
Prasant Kumar
Date - 05/06/2015
Telecom 4.1
Assessment
OSS/BSS
Competency
2. Case Study - Plan
Case Study Topics
MIS Information – Brief Introduction
Existing process for MIS reporting and availability
Limitations of existing process
Proposed steps to enhance Information availability on MIS Reporting
Benefits of the new report creation
Steps to achieve the new Process
Recommendations
Glossary
3. Case Study Topics
Following are the topics that are proposed for the case study that
aimed at optimizing the existing process critical information
availability to take action MIS Reporting
A. Delivery of Dump based information – To provide a dump on a
specified frequency with the business critical information of users
business actions
B. To provide an automated information Report – To develop an
automate report generation system by which hourly Recharge
Reporting Sumarry could be delivered to business for market
driving and to enhance the Revenue.
C. To create a separate report file in .XLS format for business so
that details could be analyzed – To develop an report which
helps business/End user for hourly online report Sumarry so that
they can access that in one click and save the time.
After discussion with my mentor we selected to go with the 2nd
topic To provide an automated information Report for
assessment.
4. Automated MIS Recharge Report Sumarry –
Brief Introduction
The Recharge report which is back bone of any Telecom Operators which generate
the
revenue and lead to net profit.
Presently, business/End users prepare information's of the customer’s recharge
details using
MIS Reports which takes a long time and multiple process.
The new enhanced system helps in squeezing the three keys steps of information
gathering, processing and display all on a Sumarry Report.
This project is an FTP based report which involves
requirement gathering, downloading the online data from database, creating the file
in
constant name for insertion in database , generation of report in .xls and to upload at
FTP
for users , The system is developed using the PL/SQL (Oracle) and Batch Scripting.
This system arms the Business with quick decision making capabilities and helps in
quickly building a strategy to retaining the existing customers.
5. Existing steps for MIS Recharge
Report information analysis
The users goes through various MIS reports and manually consolidates
the information with painstaking effort.
To Process the information regarding recharge
Based on the information available the business critical
decisions are made.
6. Limitations of existing process
Manual Activity is cumbersome for the users
For big circles, it takes lot of time to even download
and later process the voluminous data
Manipulating the data using Excel functions becomes
very tedious
By the time data is converted to information for
business decisions, there is no time for strategic
business action to retain clients.
8. Steps to achieve the MIS Recharge Report
Automation
Through FTP Server data uploaded into
Local DB
Processed data through Batch Script and
Sql
Store the login credentials in tables for
accessing the web application so that any
addition or changes in future can be
accommodated .
Estimated efforts:
72 hrs. ( Analysis, Designing, Coding ,
UAT, Production)
Language: PL/SQL , Batch Scripting
Software : Oracle 10g, GUNZIP, DOS
9. User restricted access to the business critical data.
Data availability on the click of a button for the taking further course of
action Report Sumarry through FTP.
Eliminates the manual processing effort .
Very user friendly and easy to use which requires no technical
knowledge to know the subscriber data.
Saves tons of precious time which is saved by automated process of
data handling through backend.
Benefits of the new process
10. Recommendations
Based on the success of the proposed solution the same can be extended
to other regions which have high count of Recharge .
11. Coding to download the data from FTP and to rename
in constant Name
@echo off
set yyyy=
set $tok=1-3
for /f "tokens=1 delims=.:/-, " %%u in ('date /t') do set $d1=%%u
if "%$d1:~0,1%" GTR "9" set $tok=2-4
for /f "tokens=%$tok% delims=.:/-, " %%u in ('date /t') do (
for /f "skip=1 tokens=2-4 delims=/-,()." %%x in ('echo.^|date') do (
set %%x=%%u
set %%y=%%v
set %%z=%%w
set $d1=
set $tok=))
12. if "%yyyy%"=="" set yyyy=%yy%
if /I %yyyy% LSS 100 set /A yyyy=2000 + 1%yyyy% - 100
set CurDate=%mm%/%dd%/%yyyy%
set dayCnt=%1
if "%dayCnt%"=="" set dayCnt=1
REM Substract your days here
set /A dd=1%dd% - 100 - %dayCnt%
set /A mm=1%mm% - 100
13. :CHKDAY
if /I %dd% GTR 0 goto DONE
set /A mm=%mm% - 1
if /I %mm% GTR 0 goto ADJUSTDAY
set /A mm=12
set /A yyyy=%yyyy% - 1
:ADJUSTDAY
if %mm%==1 goto SET31
if %mm%==2 goto LEAPCHK
if %mm%==3 goto SET31
if %mm%==4 goto SET30
if %mm%==5 goto SET31
if %mm%==6 goto SET30
if %mm%==7 goto SET31
if %mm%==8 goto SET31
if %mm%==9 goto SET30
if %mm%==10 goto SET31
if %mm%==11 goto SET30
REM ** Month 12 falls through
15. Coding to download the data from FTP and to rename
in constant Name
:LEAPCHK
set /A tt=%yyyy% %% 4
if not %tt%==0 goto SET28
set /A tt=%yyyy% %% 100
if not %tt%==0 goto SET29
set /A tt=%yyyy% %% 400
if %tt%==0 goto SET29
:SET28
set /A dd=28 + %dd%
16. goto CHKDAY
:SET29
set /A dd=29 + %dd%
goto CHKDAY
:DONE
if /I %mm% LSS 10 set mm=0%mm%
if /I %dd% LSS 10 set dd=0%dd%
echo Date %dayCnt% day(s) before %CurDate% is
%mm%/%dd%/%yyyy%
17. Coding to download the data from FTP and to rename
in constant Name
:: Today's date in YYYYMMDD format
SET yesterday=%dd%-%mm%-%yyyy%
echo %yesterday%
REM ##***For getting the files from the ftp location and renaming it to a
constant name
PATH=%PATH%;c:Program FilesWinSCP
ECHO open ftp://Bh_IT:uninor@12345@172.30.16.220 > cmd.txt
echo option transfer binary >> cmd.txt
echo option confirm off >> cmd.txt
echo cd dump_today >> cmd.txt
echo synchronize local
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do echo get
RPT_6_RECHARGE_REPORT_Bihar%yesterday%.csv.gz
HOURLY_RECHARGE_DUMP.csv.gz>> cmd.txt
18. echo close >> cmd.txt
echo exit >> cmd.txt
winscp /script:cmd.txt
REM ##********************COMMAND TO ZIP THE FILE
echo on
D:
cd D:AUTOMATIONHOURLY-RECHARGE-DATARAW_DATA
del HOURLY_RECHARGE_DUMP.csv
gunzip -f *.csv.gz
REN *.CSV HOURLY_RECHARGE_DUMP.csv
exit;
19. Coding to download the data from FTP and to rename
in constant Name
REM ##*********************For truncate the table and insert data in
Databse
echo on
sqlplus scott/tiger@ORCL @TRUNCATE_HOURLY_RECHARGE.sql
sqlldr userid=scott/tiger@ORCL control='HOURLY.CTL' log='HOURLY.log'
bad='HOURLY.bad' direct='true'
date/t
time/t
REM ##*********************For generate report from database
21. SQL Query which is called by batch Script
update HOURLY_RECHARGE_RPT6 set TRDL_UPLOADED=sysdate;
commit;
truncate table HOURLY_RECHARGE_RPT6;
commit;
EXIT;
22. SQL Query which is called by batch Script
connect sqlplus scott/tiger@ORCL;
column dcol new_value dt noprint
select to_char(sysdate-1,'rrrrmmdd') dcol from dual;
set colsep "|"
set linesize 9999
set trimspool on
set heading on
set pagesize 0
set wrap off
set feedback off
set newpage 0
set arraysize 5000
spool D:AUTOMATIONHOURLY-RECHARGE-
DATAOUTPUT_DATAJUN15RECHARGE_TRANS_STATUS&dt..xls;
SELECT 'TIME1' || '|' || 'RECHARGE_COUNT' || '|' || 'TYPE_OF_RECHARGE'
FROM DUAL;
23. SQL Query which is called by batch Script
SELECT DECODE ( (SUBSTR (recharge_date_time, 11, 3)),
00,
'00 AM',
01,
'01 AM',
02,
'02 AM',
03,
'03 AM',
04,
'04 AM',
05,
'05 AM',
06,
'06 AM',
25. SQL Query which is called by batch Script
16,
'16 PM',
17,
'17 PM',
18,
'18 PM',
19,
'19 PM',
20,
'20 PM',
21,
'21 PM',
22,
'22 PM',
23,
'23 PM')
AS time1,
COUNT (SUBSTR (recharge_date_time, 11, 3)) AS recharge_count,
exit;
26. DECODE (type_of_recharge,
'EVDA',
'EVDA-E-Load-STV_RCV',
'EVDFA',
'EVDFA-E-Load-FR',
'EVDFT',
'EVDFT-E-Load-FR',
'EVDS',
'EVDS-USSD',
'EVDT',
'EVDT-E-Load-STV_RCV_ONLINE',
'VCH',
'VCH1')
RECHARGE_TYPE
FROM scott.hourly_recharge_rpt6
GROUP BY type_of_recharge, SUBSTR (recharge_date_time, 11, 3)
ORDER BY time1;
spool off
27. Resource Plan & Effort Estimation
#Resources #Resources buldgme(1-5 Years Experienced) Rupeeration(5 to 10 Years Experienced)
Batch Scripting 1 1
Oracle 1 1
Activities PDs Start Date End Date
Number of Senior
Resources
(5 to 10 Years)
Junior Resources
( 1 to 5 Years)
Requirement
Gathering 1 1
Design 1 1
Coding and Unit
Testing
1 1 1
UAT 2 1 1
Production 1 1 1
Agenda slide:
Heading – Agenda - Font size 30, Arial Bold
Please restrict this slide with just 5 agenda points. If you have more than 5 points on the agenda slide please add another slide. If you have only 3 then you can use just one slide and delete the other 2 points.
Content Slide: This is usually the most frequently used slide in every presentation.
Use this slide for Text heavy slides. Text can only be used in bullet points
Title Heading – font size 30, Arial bold
Slide Content – Should not reduce beyond Arial font 16
If you need to use sub bullets please use the indent buttons located next to the bullets buttons in the tool bar and this will automatically provide you with the second, third, fourth & fifth level bullet styles and font sizes
Please note you can also press the tab key to create the different levels of bulleted content
Blank slide or a freeform slide you may use this to insert or show screenshots etc
If content is added in this slide you will need to use bulleted text
Column content slide – This is a slide with 2 columns and you can have text in bullet points under each column. You can have separate header for each of the columns in the blue box provided on top of each of the columns.
Heading font size of the column should remain at 30 and the column content should not reduce beyond 20
Full Image slide :
Use this slide when you need to use an image that covers the entire slide content area. Image size is automatically defined. Your text for the slide will appear on a grey bar on top/front of the image as seen. There will be no title to this slide.
Text– font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box on the image you may add text to a maximum of one line, font size 20, Arial normal
Vertical Image slide – Use this slide for a vertical image with text that flows in a running paragraph
Text– font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box on the right the font size should not be beyond 20, Arial normal, and ensure the maximum content used is aligned to the size of the image, content should not exceed beyond the size of the image
Vertical Image slide – Use this slide for a vertical image with bulleted text
Text– font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box on the right the font size should not be beyond 20, Arial normal, and ensure the maximum content used is aligned to the size of the image, content should not exceed beyond the size of the image
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with text that flows in a running paragraph
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the image the font size should not be beyond 18, Arial normal, and ensure the maximum content used is aligned to 5 lines, content should not exceed beyond the image size
Horizontal Image slide – Horizontal image with bulleted text
Title – font size 20, Arial
Click on the icon to add image, the size of the image will be automatically determined once inserted, do not alter the size of the image
In the text box below the bulleted text should not be beyond one line
Font size should be 20, Arial normal and should not exceed beyond 4 bullet points
Highlights Slide:
To be used only when you want certain highlights of the case study, point of view, define a theme/concept or any other topic to be defined as text that is in a flow and not bulleted.
Image on the right – relating to the topic
Text Box 1 : Heading
Text Box 2 : Add a small brief of the topic
Text Box 3 : Highlights of the topic and related text
Case Study Slide:
Use this slide to give a more detailed presentation of a case that you have- but only in the format shown here. The text boxes need not be bulleted
Image on the left – relating to the case study
Text Box 1 : Opportunity
Text Box 2 : Add opportunity related text
Text Box 3 : Challenges
Text Box 4 : Add challenges related text
Text Box 5 : Impact
Text Box 6 : Add impact related text