0% found this document useful (0 votes)
167 views4 pages

CCB Interview Prepare

This document provides instructions for various technical tasks in 6 paragraphs: 1. It describes how to create and test batch jobs by writing code in Eclipse and specifying parameters. 2. It explains how to create business services by defining inputs, outputs, and writing code to be executed on the server. Services are then tested through UI maps. 3. It provides steps for creating and testing algorithms by writing invoke methods and deploying/starting the server. 4. It gives examples of using zones to write SQL queries and testing through UI maps/XAI, as well as creating business services and testing through UI maps. 5. It provides test cases for consumer info testing by specifying different input parameters in

Uploaded by

Aman gangwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views4 pages

CCB Interview Prepare

This document provides instructions for various technical tasks in 6 paragraphs: 1. It describes how to create and test batch jobs by writing code in Eclipse and specifying parameters. 2. It explains how to create business services by defining inputs, outputs, and writing code to be executed on the server. Services are then tested through UI maps. 3. It provides steps for creating and testing algorithms by writing invoke methods and deploying/starting the server. 4. It gives examples of using zones to write SQL queries and testing through UI maps/XAI, as well as creating business services and testing through UI maps. 5. It provides test cases for consumer info testing by specifying different input parameters in

Uploaded by

Aman gangwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

I've work on some technical backend side - just like that

1-- Batch
Steps:
Batch
write code in eclipse - inside getjobwork() ,its a method if we want to create new
method then write method ouside main
method but call in method (getjobwork) .

batch use -if i need bulk of data then use batch job.
then testing of batch following these steps:
in function side create a batch control then add packages or code name use language
(java)
if i taken parameter then mention alse parameter in batch control .
softparam- we can change in runtime.
hardparam- we can't change in runtime.

o/p check through thin command on cmd .


splbatch.cm -e thin
____________________________________________________________________

2. Buisness service
Steps :
in body - metion filed of o/p.
in header -mention filed of i/p.
after that write code in body then server start after that these following steps
use in ccb page -

@. Service name same those we have given in BS java side code ( Service name)

@#. Create a business service


In BS service name same those we have written in service
After write the Schema, then save it.

then tesing though ui map .


create a new ui map then add buisness service then testing.
____________________________________________________________________
3. Algo

: If you want to execute some logic against any ‘Spot (Interface)’ then you have
to create Algorithm.
write code in invoke main method but we need create method then create outside the
main method
and call to in main method.
after that deploye the code .
and start the server.

testing -
create -@algo type
@. algo
@. case type :
then get o/p on server(tomcat).

____________________________________________________________________

Functionl side (Work).

1. Zone ( in zone write sql query then testing though xai/ ui map)
type- single sql
application service- default
in filter f1, f2 these are input .
in intial display column -C1 C2 its o/p

2. Buisness service:
Add service name - data explore
application server - default

then write schema


and add zone name (Mapping zone in schema in )

3. Tesing though ui map .


in ui map map buisness service then some changes in html editor(bcz add on field
in save button there add buisness service)

then final tesing .

4.MO (Maintenance object)


Steps:

#. create a table in sql


##. In ccb page same name table add filled.
###. create new service program
and mention service type :Java
!v. create MO and add table those create in data base .
V. create MO in java side and add buisness entity

____________________________________________________________________

5 . consumer info testing - in Jharkhand


Given ui map then testing ;

Case1
Input- SDO _FLG = Y , Acct_Id ,SDO VALUE
BASIS OF REQUIREMENT
input_ 1 SDO FLAG= Y THEN SDO VALUE
2.SDO FLAG= N THEN NO SDO VALUE NEED

Case2;
input in UIMAP- SDO_FLG= N, Acct_Id (2 input)

Case-3 :
Input SDO_FLAG=N , consumer number (2 input)

Case 4—
input( SDO FLAG= Y , Legacy Account Number , SDO Code)

_______________________________________________________________________

6. Bill revision testing :


if I know acctId then get BR_ID(billrevision id) and status (may be complete or not
)
if status not completed then show error in billrevision window .
check whats error then do resolve .

7. Bill create :
Fill up acctid or other filled then save it and got bill_Id ( means bill
successfull create )
and status show completed.
other wise if bill id not get means bill not create and status not completed show
in page .

8. service script _
its use for front coding

inside this where edit data area


move value to another variable and that variable start from dollar sign $
then those validation upon that then according to that I do valiate .
and testing through ui map .
in ui map add on service script name .

schema of service script :


<schema>
<input type="group">
<caseId mapField="CASE_ID"/>
</input>
<output type="group">
<personId/>
</output>
</schema>
_______________________________________________________________________________

Sql

a.serial_nbr,a.mtr_type_cd,a.mfg_cd,b.mtr_config_id,c.sp_id,e.acct_id
from ci_mtr a,ci_mtr_config b,ci_sp_mtr_hist c ,ci_sa_sp d, ci_sa e
where a.mtr_id='0370007616'
and a.mtr_id=b.mtr_id
and b.mtr_config_id=c.mtr_config_id
and c.sp_id=d.sp_id
and d.sa_id=e.sa_id;

Notes of script _

In this section I am going to explain the scripts in CC&B

Some Important points on scripts

There are 3 types of scripts


Plug-in Script
Service Script
BPA Script

All the scripts are written using 4GL language.


Plug-in script and service scripts are to develop service based business rules.
Plug-in Script:

Plug-in script is written only on the particular plugin spot


Rather than write a java program for a plug-in spot, you can create a plug-in using
the scripting language , only the difference is : Scripting allows to implement
plug-ins without programming (and compilers).
Input and output are decided by the plugin spot.

Service Script:
Service scripts are nothing more than common routines that have been developed
using the scripting language rather than Java
Service scripts are mainly invoked in UI Map , plugin script,BPA Scripts and in
another service script.
Inputs and Outputs are decided by the programmer and are defined in the schema of
the service script.

These types of scripts run on the client's browser


UI map can be Invoked to add a new entity using BPA scripts.
BPA Scripts can be invoked using shortcut CTRL+SHIFT+S.

Indexes are used to retrieve data from the database more quickly than otherwise.
The users cannot see the indexes, they are just used to speed up searches/queries.

You might also like