Page 1 of 1

Unload Utility With External Format.

PostPosted: Mon Feb 22, 2010 5:44 pm
by manojlives
Hi,
If i am unloading table using DSNTULIB utility , the Output is not user readable format , as it writes few columns as ASCII chars ,
As far as i know there is a FORMAT specification in Platinum FAST unload utility where we can specify FORMAT : EXTERNAl, and it unloads the data in EXTERNAL format , that is User readable.

Can anyone suggest me is there a way to do the same using UNLOAD utility.

Re: Unload Utility With External Format.

PostPosted: Tue Feb 23, 2010 12:53 am
by dick scherrer
Hello,

as it writes few columns as ASCII chars ,
On the mainframe? Why would an unload create data in ascii on a mainframe? The mainframe is ebcdic based. . .

Re: Unload Utility With External Format.

PostPosted: Tue Feb 23, 2010 4:11 pm
by manojlives
dick scherrer wrote:Hello,

as it writes few columns as ASCII chars ,
On the mainframe? Why would an unload create data in ascii on a mainframe? The mainframe is ebcdic based. . .


Sorry dick scherrer it was a mistake , the output format of unload util is EBCDIC Format .

Re: Unload Utility With External Format.

PostPosted: Wed Feb 24, 2010 1:30 am
by dick scherrer
Hello,

Sorry dick scherrer it was a mistake
Not to worry :)

Why does unloaded data need to be readble by some user? UNLOADed data is perfectly readable/usable by programs and utilities. . .

Obviously, i am missing something :?

Re: Unload Utility With External Format.

PostPosted: Thu Feb 25, 2010 11:25 am
by manojlives
dick scherrer wrote:Hello,

Sorry dick scherrer it was a mistake
Not to worry :)

Why does unloaded data need to be readbale by some user? UNLOADed data is perfectly readable/usable by programs and utilities. . .

Obviously, i am missing something :?


The purpose we need is to identify the changes between 2 different database of same structure and once compare is run the output is not readable by us to identify the exact row in the table that is missing.

Re: Unload Utility With External Format.

PostPosted: Fri Feb 26, 2010 12:48 am
by dick scherrer
Hello,

Then you may want to generate the "output to compare" using your own sql code rather than the utility.

There may be something you can use here also:
http://publibz.boulder.ibm.com/cgi-bin/ ... j10/2.30.4

Re: Unload Utility With External Format.

PostPosted: Mon Mar 01, 2010 2:13 pm
by manojlives
dick scherrer wrote:Hello,

Then you may want to generate the "output to compare" using your own sql code rather than the utility.

There may be something you can use here also:
http://publibz.boulder.ibm.com/cgi-bin/ ... j10/2.30.4

Hi Dick,

I am unloading the entire database using, LISTDEF and TEMPLATE Utility , In that case i am not able to specify the column names while unloading.
I am using below syntax in my unload job , then how can i specify column wise for all tables, which is not allowed.
For Eg:

LISTDEF UNLDLIST
INCLUDE TABLESPACE TDB1.TSP*
TEMPLATE UNLDDS DSN &USERID..SMPLUNLD.&TS.
UNIT SYSDA DISP (NEW,CATLG,CATLG) SPACE (2,1) CYL
UNLOAD LIST UNLDLIST

Re: Unload Utility With External Format.

PostPosted: Tue Mar 02, 2010 12:41 am
by dick scherrer
Hello,

As i mentioned earlier, you might consider writing your own code to do what you want.

IMHO, utilities are great when they can be used "as is". For more specific/complicated requirements, i write my own as i feel i have greater control and flexibility.

Re: Unload Utility With External Format.

PostPosted: Sat Mar 06, 2010 5:39 pm
by manojlives
dick scherrer wrote:Hello,

As i mentioned earlier, you might consider writing your own code to do what you want.

IMHO, utilities are great when they can be used "as is". For more specific/complicated requirements, i write my own as i feel i have greater control and flexibility.

Thanks Dick , Pls let me know how to write the IMHO utiity or provide me with any documents that might help me write it.

Re: Unload Utility With External Format.

PostPosted: Sat Mar 06, 2010 9:42 pm
by dick scherrer
Hello,

Sorry, my bad - i should not have used "slang". IMHO means In My Humble Opinion. . .

The point is that utilities are not always able to do what someone wants. Then one must write their own code to do what is needed. As i mentioned before:
Then you may want to generate the "output to compare" using your own sql code rather than the utility.