Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: robby123I am trying to pass information from an input file to my output of a DB execute node. It will work if the pass through info doesn't change but not otherwise. Is there a way to do this that I'm not thinking of?
This one ( with the static data )works:
node:Static_Data
bretype:core::Static Data
editor:sortkey=4755dec834e55222
output:@40fe6c55598828e5/=
prop:StaticData=<<EOX
CODE:string,BLAH:string
"67I3","BLAH_BLAH"
"66H2","BLAH_BLAH"
EOX
editor:XY=470,50
end:Static_Data
node:Working_Pass
bretype:core::DB Execute
editor:Label=Working Pass
editor:sortkey=4756f948276c0825
input:4756f973091c0fff/in1=Static_Data.40fe6c55598828e5
output:4756fa0a223e2593/1out=
prop:CommitFrequency=1
prop:DbInterface=OCI
prop:DbPassword=mypassword
prop:DbService=someDB
prop:DbUser=myuserid
prop:Script=<<EOX
sqlSelect(1,strcat("Select ms.*, '", 'BLAH', "' as BLAH1 from multisec0 ms where PRODUCTCD = :1"),'CODE')
EOX
editor:XY=600,50
end:Working_Pass
This one which is more like what we would be needing this for does not work:
node:NonWorking_Pass
bretype:core::DB Execute
editor:Label=Non-Working Pass
editor:sortkey=4756f948276c0825_2
input:4756f973091c0fff/in1=Static_Data_2.40fe6c55598828e5
output:4756fa0a223e2593/1out=
prop:CommitFrequency=1
prop:DbInterface=OCI
prop:DbPassword=mypassword
prop:DbService=someDB
prop:DbUser=myuserid
prop:Script=<<EOX
sqlSelect(1,strcat("Select ms.*, '", 'BLAH', "' as BLAH1 from multisec0 ms where PRODUCTCD = :1"),'CODE')
EOX
editor:XY=530,230
end:NonWorking_Pass
node:Static_Data_2
bretype:core::Static Data
editor:sortkey=4755dec834e55222_2
output:@40fe6c55598828e5/=
prop:StaticData=<<EOX
CODE:string,BLAH:string
"67I3","BLAH_BLAH"
"66H2","BLAH_BLAH1"
EOX
editor:XY=370,230
end:Static_Data_2
Any help is much appreciated.