1 bteq << 'SQL part' | grep '\\$'| read start_dt_ya start_dt end_dt_ya end_dt
\r
3 select '$',start_date- '1 year', start_date ....
\r
6 bteq <<SQL | grep '\\$'| read start_dt_ya start_dt end_dt_ya end_dt
\r
8 select '$',start_date- '1 year', start_date ....
\r