Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

JCL & VSAM :: DB2 Unload format options

$
0
0
Author: Susanta
Subject: DB2 Unload format options
Posted: Fri Aug 12, 2016 5:42 pm (GMT 5.5)

Hi All

I want to use DB2UJHPU to unload rows from a table. to be used by non db2 team.

need to unload the date with FORMAT EXTERNAL .. to get the the binary date in display format.

when i run the job it gives the ouput with fileds without any delimiter.
is there any option to direct the jcl to use a delimiter say ;

Thanks

The JCL SYSIN:


//SYSIN DD *
UNLOAD TABLESPACE
DB2 FORCE
LOCK NO
QUIESCE NO
QUIESCECAT NO
OPTIONS
NULL OFF
SELECT *
FROM XYZ.ABC_TBL
FETCH FIRST 10 ROWS ONLY
WITH UR
;
OUTDDN (UNLDD1)
FORMAT EXTERNAL
/*
_________________
Regards


Viewing all articles
Browse latest Browse all 9405

Trending Articles