count

Kristina Carlton Kristina.Carlton@JICompanies.com
Tue, 18 Jan 2005 10:59:17 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4FD7F.0C2B8988
Content-Type: text/plain;
	charset="iso-8859-1"

Thank you - I actually figured it out. I had an old .SF out there, which my
count was accessing. The newly created file was actually a .PS. I just
needed to clean up the drive.
 
Kristina Carlton
Senior Programmer/Analyst
The JI Companies
Kristina.Carlton@JICompanies.com
 
-----Original Message-----
From: Michael Lee [mailto:Michael.Lee@mclsystemsinc.com]
Sent: Tuesday, January 18, 2005 10:48 AM
To: David Morrison - Corporate
Cc: Kristina Carlton; powerh-l@lists.sowder.com
Subject: Re: count
 
Hi Kristina,

I think you do only want one record to be written to the 'CREATEDT' file
though. If the file DWDTL has 55 records then the KOUNT should have '55' in
it. Perhaps it's a bug of some sort. Perhaps you could try adding NORESET
after the "KOUNT SUBTOTAL NORESET" and see if that does the trick. You
shouldn't have to but one never knows...


Regards,


Michael Lee
MCL Systems Inc.

David Morrison - Corporate wrote:


Kristina,
 
The last step defines D_SORT as a constant 1.  So, if you output (SET
SUBFILE) at D_SORT, you're only going to output to your Report Summary table
once.
 
Thanks.
 
David Morrison
McBride Electric
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
<mailto:powerh-l-admin@lists.sowder.com>  [
mailto:powerh-l-admin@lists.sowder.com
<mailto:powerh-l-admin@lists.sowder.com> ]On Behalf Of Kristina Carlton
Sent: Tuesday, January 18, 2005 7:03 AM
To: ' powerh-l@lists.sowder.com <mailto:powerh-l@lists.sowder.com> '
Subject: count
Hi,
 
Could someone take a look at the attached Quiz extract and tell me what I am
doing wrong. I am trying to get the count I have extracted in the first part
at the bottom of the extract. Although my file has 55 records in it, or
more, the count is 1 each time. I am doing this for all my other files and
it works fine. What am I missing?
 
OpenVMS v7.3-2 and Quiz V7.10.G4.
 
 
Kristina Carlton
Senior Programmer/Analyst
The JI Companies
Kristina.Carlton@JICompanies.com <mailto:Kristina.Carlton@JICompanies.com> 
 

------_=_NextPart_001_01C4FD7F.0C2B8988
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C4FD4C.C1456970">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:DrawingGridHorizontalSpacing>2.85 =
pt</w:DrawingGridHorizontalSpacing>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
	{font-family:"Century Gothic";
	panose-1:2 11 5 2 2 2 2 2 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:647 0 0 0 159 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:553679495 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:9.0pt;
	mso-bidi-font-size:12.0pt;
	font-family:"Century Gothic";
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:Arial;
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:9.0pt;
	mso-bidi-font-size:12.0pt;
	font-family:"Century Gothic";
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:Arial;
	color:black;}
span.EmailStyle16
	{mso-style-type:personal;
	mso-ansi-font-size:9.0pt;
	mso-ascii-font-family:"Century Gothic";
	mso-hansi-font-family:"Century Gothic";
	mso-bidi-font-family:Arial;
	color:navy;
	font-weight:normal;
	font-style:normal;}
span.EmailStyle17
	{mso-style-type:personal;
	mso-ansi-font-size:9.0pt;
	mso-ascii-font-family:"Century Gothic";
	mso-hansi-font-family:"Century Gothic";
	mso-bidi-font-family:Arial;
	color:navy;
	font-weight:normal;
	font-style:normal;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	mso-ansi-font-size:9.0pt;
	mso-ascii-font-family:"Century Gothic";
	mso-hansi-font-family:"Century Gothic";
	mso-bidi-font-family:Arial;
	color:navy;
	font-weight:normal;
	font-style:normal;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailStyle20><font size=3D1 =
color=3Dnavy
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-bidi-font-size:
12.0pt'>Thank you &#8211; I actually figured it out. I had an old .SF =
out there,
which my count was accessing. The newly created file was actually a =
.PS. I just
needed to clean up the drive.<o:p></o:p></span></span></font></span></p>=


<p class=3DMsoNormal><span class=3DEmailStyle20><font size=3D1 =
color=3Dnavy
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span><o:p></o:p></font></span></p>=


<p class=3DMsoNormal><!--[if supportFields]><span =
class=3DEmailStyle20><font=20
color=3Dnavy><span style=3D'mso-element:field-begin'></span><span=20
style=3D"mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail=20
Signature&quot; <span =
style=3D'mso-element:field-separator'></span></font></span><![endif]--><=
span
class=3DEmailStyle20><font color=3Dnavy>Kristina =
Carlton<o:p></o:p></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle20><font size=3D1 =
color=3Dnavy
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-bidi-font-size:
12.0pt'>Senior =
Programmer/Analyst<o:p></o:p></span></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle20><font size=3D1 =
color=3Dnavy
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-bidi-font-size:
12.0pt'>The JI Companies<o:p></o:p></span></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle20><font size=3D1 =
color=3Dnavy
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-bidi-font-size:
12.0pt'>Kristina.Carlton@JICompanies.com<o:p></o:p></span></span></font>=
</span></p>

<p class=3DMsoNormal><!--[if supportFields]><span =
class=3DEmailStyle20><font=20
color=3Dnavy><span =
style=3D'mso-element:field-end'></span></font></span><![endif]--><span
class=3DEmailStyle20><font color=3Dnavy><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Michael Lee
[mailto:Michael.Lee@mclsystemsinc.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, January =
18, 2005
10:48 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> David Morrison - =
Corporate<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Kristina Carlton;
powerh-l@lists.sowder.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: =
count</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D1 =
color=3Dblack
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span><o:p></o:p></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D1 =
color=3Dblack
face=3D"Century Gothic"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-bidi-font-size:
12.0pt'>Hi Kristina,<br>
<br>
I think you do only want one record to be written to the 'CREATEDT' =
file
though. If the file DWDTL has 55 records then the KOUNT should have =
'55' in it.
Perhaps it's a bug of some sort. Perhaps you could try adding NORESET =
after the
&quot;KOUNT SUBTOTAL NORESET&quot; and see if that does the trick. You
shouldn't have to but one never knows...<br>
<br>
<br>
Regards,<br>
<br>
<br>
Michael Lee<br>
MCL Systems Inc.<br>
<br>
David Morrison - Corporate wrote:<br =
style=3D'mso-special-character:line-break'>
<![if !supportLineBreakNewLine]><br =
style=3D'mso-special-character:line-break'>
<![endif]></span></span></font><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'><!--[if gte mso =
9]><xml>
 <u1:OfficeDocumentSettings>
  <u1:DoNotRelyOnCSS/>
 </u1:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u2:WordDocument>
  <u2:View>Normal</u2:View>
  <u2:Zoom>0</u2:Zoom>
  <u2:DocumentKind>DocumentEmail</u2:DocumentKind>
  <u2:EnvelopeVis/>
  <u2:DrawingGridHorizontalSpacing>2.85 =
pt</u2:DrawingGridHorizontalSpacing>
  =
<u2:DisplayVerticalDrawingGridEvery>2</u2:DisplayVerticalDrawingGridEver=
y>
 </u2:WordDocument>
</xml><![endif]-->Kristina,</span></font><font size=3D3 face=3D"Times =
New Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>The last step =
defines
D_SORT as a constant 1.&nbsp; So, if you output (SET SUBFILE) at =
D_SORT, you're
only going to output to your Report Summary table =
once.</span></font><font
size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Thanks.</span></=
font><font
size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>David =
Morrison</span></font><font
size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt=
:
auto;margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>McBride =
Electric</span></font><font
size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:.5in;mso-margin-top-alt:auto;margin-bottom:
12.0pt;margin-left:1.5in'><font size=3D2 color=3Dblack =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> <a
href=3D"mailto:powerh-l-admin@lists.sowder.com">powerh-l-admin@lists.sow=
der.com</a>
[<a =
href=3D"mailto:powerh-l-admin@lists.sowder.com">mailto:powerh-l-admin@li=
sts.sowder.com</a>]<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Kristina Carlton<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, January =
18, 2005
7:03 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> '<a
href=3D"mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>'=
<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
count</span></font><font
size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman"'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle17><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>Hi,<u3:p></u3:p></span></font></span><o:p></o:=
p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle17><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>&nbsp;<u3:p></u3:p></span></font></span><o:p><=
/o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle17><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>Could someone take a look at the attached =
Quiz
extract and tell me what I am doing wrong. I am trying to get the count =
I have
extracted in the first part at the bottom of the extract. Although my =
file has
55 records in it, or more, the count is 1 each time. I am doing this =
for all my
other files and it works fine. What am I =
missing?<u3:p></u3:p></span></font></span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><font size=3D2 =
color=3Dblack
face=3D"Century Gothic"><span =
style=3D'font-size:10.0pt'>&nbsp;<u3:p></u3:p></span></font><o:p></o:p><=
/p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><font size=3D2 =
color=3Dblack
face=3D"Century Gothic"><span style=3D'font-size:10.0pt'>OpenVMS v7.3-2 =
and Quiz
V7.10.G4.</span><u3:p></u3:p></font><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle16><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>&nbsp;</span><u3:p></u3:p></font></span><o:p><=
/o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle16><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>&nbsp;</span><u3:p></u3:p></font></span><o:p><=
/o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><!--[if =
supportFields]><span=20
style=3D'mso-element:field-begin'></span><span style=3D"mso-spacerun:=20
yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail Signature&quot; <span=20
style=3D'mso-element:field-separator'></span><![endif]--><span
class=3DEmailStyle16><font color=3Dnavy>Kristina =
Carlton<u3:p></u3:p></font></span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle16><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>Senior =
Programmer/Analyst<u3:p></u3:p></span></font></span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle16><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'>The JI =
Companies<u3:p></u3:p></span></font></span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><span =
class=3DEmailStyle16><font
size=3D1 color=3Dnavy face=3D"Century Gothic"><span =
style=3D'font-size:9.0pt;
mso-bidi-font-size:9.0pt'><a =
href=3D"mailto:Kristina.Carlton@JICompanies.com">Kristina.Carlton@JIComp=
anies.com</a><u3:p></u3:p></span></font></span><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:
0in;margin-left:1.5in;margin-bottom:.0001pt'><!--[if =
supportFields]><span=20
style=3D'mso-element:field-end'></span><![endif]-->&nbsp;<u3:p></u3:p><o=
:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C4FD7F.0C2B8988--