Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

AQT extract data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
venkyca

New User


Joined: 02 Mar 2007
Posts: 1
Location: minnesota

PostPosted: Thu Mar 22, 2007 6:57 am    Post subject: AQT extract data
Reply with quote

Hi,

I have to extract a query result table to a text or csv file with a specified record length given by a record layout. I can extract data but the record length is gretaer than the required output record length because of some extra spaces or nulls in between fields.

I have a fixed record format for the ouput file. How do I specify the exact length in AQT so that it matches the target record layout and that should not conatin any extra characters in between.

Thanks
VK
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Mar 22, 2007 7:57 am    Post subject:
Reply with quote

Use a Programming langualge that allowes you to "exact length in AQT so that it matches the target record layout and that should not conatin any extra characters in between".
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 22, 2007 8:03 am    Post subject:
Reply with quote

Hello,

Are you creating the "output" file on the PC? If i recall correctly, AQT is pc-based with the ability to access database tables on multiple platforms (win-based, unix, and mainframe).

What you may have is the full size of the data - including trailing blanks.

Where are the extra characters? Please post what you are getting and what you'd prefer. Also, please post the attributes of the output file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us