Jump to content

Dstage Sahayam


Recommended Posts

Posted

Bhayyas chinna help kavali

 

Datastage logic kavali ee Employee any table ki

 

 

Employee_NAme     Employee_ID

vvvv                 12345

 

yyyy                 67890

 

 

xxxx                 45674

 

 

naaku output lo employee_id column (values reverse lo kavali)

 

  Employee_ID

    

   54321

   09876

 47654 

 

 

 

Posted

Hello Bayya

for this you can build a datastage subroutine to reverse the string.

take a varibale Str and initilize it to '', then write this routine

Str = ''
For i=1 to Len(Arg1)
Str = x[i,1] : Str

Next

Ans = Str

and use the same routine in your DS job

Posted

Hello Bayya

for this you can build a datastage subroutine to reverse the string.

take a varibale Str and initilize it to '', then write this routine

Str = ''
For i=1 to Len(Arg1)
Str = x[i,1] : Str

Next

Ans = Str

and use the same routine in your DS job

Thanks Bhayya. But nenu try chesanu work avvatle..vere alternative undha

Posted

Thanks Bhayya. But nenu try chesanu work avvatle..vere alternative undha

 

source database enti ? 

Posted

mari inkem.. 

 

oracle source sql lo reverse function use cheyi .... 

 

SELECT REVERSE ( column) from  <TABLE> 

Posted

babu iteach sap neeku Basis vaccha??

 

 

basic gaa nenu basis side kaadhu .. kavalante cheppu .. frnd unnaduu ..what ur wants.. 

×
×
  • Create New...