Hi,
I am trying to do the following in Routine
sFirst = '.logon server/user, password;'
sSecond = 'Select Date;'
sThird = '.logoff;'
sFinal = sFirst : [newline] :sSecond : [newline] : sThird
How can i make a string so that i can insert a newline character inb between, and then i can pass it to Teradata.
Newline in Basic Routine (calling Teradata bteq)
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 64
- Joined: Fri Jan 25, 2008 4:41 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
vNL = Char(10)
sFinal = sFirst : vNL :sSecond : vNL : sThird
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 26
- Joined: Tue Dec 18, 2007 6:31 am