PUT function

Use the PUT function to pass data to the target adapter.

The -SOURCE and -PROC|-TABLE commands when used Without Database/Query File are mandatory unless there is a default data source specified for DB2® ODBC. For detailed information on DB2 ODBC, see the DB2 Universal Database for z/OS®: ODBC documentation.

Using PUT with a database/query file

PUT ("DB",
"-MDQ mdq_file
 -DBNAME database_name 
 -PROC procedure_name|-TABLE table_name
[-USER username]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-DELETE]
[-UPDATE [OFF|ONLY]]
[-BADDATA[+] full_path]
[-AUDIT[G][+] [full_path]]
[{-TRACE|-TRACEERR}[+] [full_path]]")

Using PUT without a database/query file

PUT "DB",
"-DBTYPE ODBC 
 -PROC procedure_name|-TABLE table_name
[-SOURCE datasource]
[-USER username]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-DELETE]
[-BADDATA[+] full_path]
[-AUDIT[G][+] [full_path]]
[{-TRACE|-TRACEERR}[+] [full_path]]")