Select * from library/file in DB2

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

Vicki

Posts: 1
Joined: Fri Mar 09, 2012 3:46 pm

Post by Vicki » Fri Mar 16, 2012 9:49 am
Hi.

When running SQL in DB2..using the simple select * from library/file, it will display the record name first...not as RRN 1, but as a header I guess. When this is done in GA, encrypted in and ftp'd to our vendor, they get that header as well. The first record cannot be this record name header, but a header record must be diplayed first.

Does anyone know how to NOT send this record name header? Sample I am sending is MAMREC is being sent as first line, and RRN 1 is H550944xxxxxx etc.

[img]Position to line . . . . .
....+....1....+....2....+....3....
[b]MAMREC [/b]
H5509440000000088 20120315R
[/img]

Support_Julie

User avatar
Support Specialist
Posts: 87
Joined: Thu Mar 05, 2009 3:49 pm
Location: Ashland, NE USA

Post by Support_Julie » Mon Mar 19, 2012 4:59 pm
After doing your SQL query, are you writing the data out to a CSV file?
If so, the advanced tab has a setting to ignore the header.
Julie Rosenbaum
Sr Support Analyst
e. goanywhere.support@helpsystems.com
p. 1.800.949.4696
w. HelpSystems.com
2 posts Page 1 of 1