BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
db_sabrina
Calcite | Level 5

Hello,

I write a job  using dataflux 2.5

in a data job i insert a sql statement where i extract some fiels.

the next node i insert an expression node where i make a filter.

i want that only some fields goes to the next node.

i defined some  variabilies  as hidden but a i don't know how to exclude  the fields that come from sql statement

 

thanks

Sabrina

1 ACCEPTED SOLUTION

Accepted Solutions
db_sabrina
Calcite | Level 5

return false in main expression.

View solution in original post

2 REPLIES 2
db_sabrina
Calcite | Level 5

return false in main expression.

RonAgresta
SAS Employee

Hi,

 

From within an expression node, you can't hide columns coming from parent nodes. You can only use the "hidden" variable option on variables you create in the expression itself. To remove those unwanted fields, you should use a Field Layout node right after the expression node. It will let you limit the columns you want to have passed out to the next node in the job. You can also rename columns here.

 

Ron

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 924 views
  • 0 likes
  • 2 in conversation