Rowset variable

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

Rowset variable

Postby ChrisHiebert » Wed Apr 10, 2013 12:34 pm

Are there any attributes available on a Rowset variable?

I am trying to determine the maximum line length from a readFlatFile output Rowset without having to process the Rowset in a for each loop, which can take a long time for large files.

A File Variables have attributes like name and size, so I was wondering if a Rowset has similar attributes.
ChrisHiebert
 
Posts: 6
Joined: Tue Mar 05, 2013 2:47 pm

Re: Rowset variable

Postby Support_Rick » Fri May 24, 2013 1:33 pm

Chris,

At this time, there are no Attributes for the ROWSET var. Only the FILELIST var.

To determine max LRECL for a flatFile .. you would have to read from Rec1 through RecX and snapshot the row length.

Depending on your installed system, you might could run a system command (wc -L/linux) and pull the value you need back into the project that way with a quicker turn-around.

I'm sure there are options in Windows, etc as well.
Rick Elliott
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 202
Joined: Tue Jul 17, 2012 2:12 pm


Return to Community Forum

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron