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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vizag Legend(STG_Churners)

Status
Not open for further replies.

srini84

Technical User
Feb 19, 2011
6
IN
SESSIONS 5;
RECORD 1 THRU 100;
TENACITY 5;
SLEEP 5;
ERRLIMIT 50;
.logon tdp6/POC_ETLUSER,POC_ETLUSER;
delete from POC_WORKDB.STG_Churners all;
DROP TABLE POC_WORKDB.STG_Churners_WT;
DROP TABLE POC_WORKDB.STG_Churners_ET;
DROP TABLE POC_WORKDB.STG_Churners_UV;

.SET RECORD VARTEXT "|";

DEFINE

MSISDN_ID (VARCHAR (22)),
LANGUAGE_PREF (VARCHAR (20)),
TEST_SUB_IND (VARCHAR (10)),
BRAND (VARCHAR (20)),
CALL_GROUP (VARCHAR (10)),
SUBS_STATE (VARCHAR (20)),
ACTIVATION_DATE (VARCHAR (40)),
CREDIT_EXP_DATE (VARCHAR (19)),
RECHARGE_ONLY_DATE (VARCHAR (19)),
DEACTIVATION_DATE (VARCHAR (19)),
LAST_RECHARGE_DATE (VARCHAR(40)),
NO_CREDIT_DATE (VARCHAR (40)),
TOTAL_CALLS_MADE (VARCHAR (10)),
TOTAL_CALLS_SUCCESS (VARCHAR (10)),
CREDIT_REMAINING (VARCHAR (10)),
PACKAGE_TYPE (VARCHAR (90)),
REGION (VARCHAR (80)),
PRODUCT (VARCHAR (20)),
NETWORK_USAGE (VARCHAR (8)),
SHELF_EXPIRY_DATE (VARCHAR (19)),
STATUS_DATE (VARCHAR (19)),
DATA_DATE (VARCHAR (19)),
SUB_STATE (VARCHAR(30)),
DISTRIBUTOR_NAME (VARCHAR(100))



FILE= / root /storage;

SHOW;
BEGIN LOADING POC_WORKDB.STG_Churners ERRORFILES
POC_WORKDB.STG_Churners_ET,POC_WORKDB.STG_Churners_UV
CHECKPOINT 1000;
INSERT INTO POC_WORKDB.STG_Churners VALUES(
:MSISDN_ID,
:LANGUAGE_PREF,
:TEST_SUB_IND,
:BRAND,
:CALL_GROUP,
:SUBS_STATE,
:ACTIVATION_DATE,
:CREDIT_EXP_DATE,
:RECHARGE_ONLY_DATE,
:DEACTIVATION_DATE,
:LAST_RECHARGE_DATE,
:NO_CREDIT_DATE,
:TOTAL_CALLS_MADE,
:TOTAL_CALLS_SUCCESS,
:CREDIT_REMAINING,
:pACKAGE_TYPE,
:REGION,
:pRODUCT,
:NETWORK_USAGE,
:SHELF_EXPIRY_DATE,
:STATUS_DATE,
:DATA_DATE,
:SUB_STATE,
:DISTRIBUTOR_NAME


);

END LOADING;
.LOGOFF;
.QUIT;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top