On Tuesday, 24 May 2016 04:25:58 UTC-4, Paweł Birgiel wrote:
 

> Suppress terminal output to greatly speed-up operations.
>
>
> Can I do something more than using "jchmod -L DESTINATION.TABLE"?  Or 
> maybe you're talking about "EXECUTE 'COMO OFF' "?
>

I meant using options like item id suppression when using the COPY command. 
  e.g. COPY MY-FILE (I

As well as not outputting progress info for every item.  A lot of people 
CRT/PRINT every item ID being processed, but that can really kill 
performance.

The following two programs will take very different relative times to 
complete.

A = 0
FOR J = 1 TO 1000000
   A = A + J
NEXT J
CRT A


A = 0
FOR J = 1 TO 1000000
   CRT J;* This will slow the pgm a lot   
   A = A + J
NEXT J
CRT A


--
Kevin Powick

 

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to