## CHANGE TO Directory Containing the VOC
cd $DSHOME
## GET PROJECT LIST
echo "$(dssh "SELECT PATH FMT '80L' \
FROM UV.ACCOUNT \
WHERE @ID NOT IN ('UV', 'uv', 'DS', 'ds') \
AND @ID NOT LIKE 'HS.%';" \
| awk '{print $1}' \
| grep '/')"
I put the odbc.ini in $DSHOME but I have still the same error message ...
>DS_CONNECT
Data Source information from /export/DATASTAGE/Projects/DEV/DEV_Primary_Dmt/uvodbc.config:
Data Source: localuv
DBMS Type: UNIVERSE
Network Type: TCP/IP
Host System: localhost 127.0.0.1
Service Name: uvserver
Data Source: MyDatabase
DBMS Type: ODBC
>DS_CONNECT MyDatabase
Enter username for connecting to 'PhoneNumber' DBMS [dsadm]: MyDatabase
Enter password for MyDatabase:
SQLConnect error: Status = -1 SQLState = IM002 Natcode = 0
[ODBC] [DataDirect][ODBC lib] Data source name not found and no default driver specified
... do i need to add something in the uvodbc.config file ?