Joined: 07 Dec 2003
|I am writing a JCL to create a comma separated file to load to the DB2 table. Following is the output of that JCL which will be used as input for the LOAD utility. The first three fields are character of length 12,5 and 5.
YTTP0602 , 5201, 1043,0,00,2007-02-20
YTTP0602 , 5234, 577,0,00,2007-03-30
YTTP0602 , 5272, 396,0,00,2007-05-14
My question is, is it required to have the character input in quotes? in other words will the above file work as input to LOAD utility or I will have to change it to following format before passing as input to LOAD
'YTTP0602 ',' 5201',' 1043',0,00,2007-02-20
'YTTP0602 ',' 5234',' 577',0,00,2007-03-30
'YTTP0602 ',' 5272',' 396',0,00,2007-05-14
Presently I dont have access to run the LOAD utility on DB2 and hence need your help on this.