Number of records of a subfile in Qdesgin/UNIX?

Franck LERAY franck.leray at cheops.fr
Thu Sep 20 04:47:43 CDT 2007


On unix box, you can't use the same method.

 

2 problems

First

You can't use do command statement, a variable set by a soon process is
not visible from the parent process.

You have to do an external subroutine (callable by the do external
command).

 

Second 

The "wc -l" command will not work like on 3k platform because on unix
there's no carriage return in the subfile. So the wc -l command will not
return the number of records.

You have to do a unix script. This script will use the qshow command.
This command will return the number of records.

 

Hope this help (excuse my poor English....)

Franck.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20070920/1ca35951/attachment.htm


More information about the powerh-l mailing list