<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DATATRIEVE HELP NEEDED in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677571#M40378</link>
    <description>Thank you,&lt;BR /&gt;&lt;BR /&gt;This is useful for me i have one small problem i.e., after creating subfields for ledger-yy,ledger-mmdd could you please tell me how to combine and print them as MM/DD/YY inside the &lt;BR /&gt;Report and end-report statements.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am trying different statements but not getting the slashes between them.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Aug 2010 09:02:56 GMT</pubDate>
    <dc:creator>RAVI KISHORE_1</dc:creator>
    <dc:date>2010-08-23T09:02:56Z</dc:date>
    <item>
      <title>DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677567#M40374</link>
      <description>I am new to DTR&lt;BR /&gt;&lt;BR /&gt;I am using using datatrieve to print a report&lt;BR /&gt;&lt;BR /&gt;I am able to ready the file and was able to find the required records also&lt;BR /&gt;&lt;BR /&gt;but while printing the records i have to edit the values of some of the fields for all the records i mean i have to do some calculations to those fields like additon and substraction and print all the changed records.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am trying to use some declare variables but not getting it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;can anyone please tell me how to get this done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2010 10:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677567#M40374</guid>
      <dc:creator>RAVI KISHORE_1</dc:creator>
      <dc:date>2010-08-20T10:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677568#M40375</link>
      <description>It's not reasonable to expect us to come up with a problem and a solution and expect it to be better than just reading the manual or a googled example.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I am new to DTR&lt;BR /&gt;- studied the manuals?&lt;BR /&gt;- spend half a day in DTR&amp;gt; HELP ?&lt;BR /&gt;- tried DTR&amp;gt; SET GUIDE ?&lt;BR /&gt;- Studied existing procedures/definitions in use?&lt;BR /&gt;- checked out everything in DTR$EXAMPLES&lt;BR /&gt;- took training?&lt;BR /&gt;- got peer advice or hired a consultant&lt;BR /&gt;- Googled ?&lt;BR /&gt;&lt;BR /&gt;So after all that, where are you and where do you want to be in simple terms ?&lt;BR /&gt;&lt;BR /&gt;- Show us the domain/record you have perhaps reduced to a few relevant fields.&lt;BR /&gt;&lt;BR /&gt;- Show the output you have, show us what you'd like it to look like.&lt;BR /&gt;&lt;BR /&gt;- Use a TEXT attachment to convey the fine points, notably for than a few lines of output, or when spacing is important&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;(30 years of Datatrieve, last use last night :-).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2010 10:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677568#M40375</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-08-20T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677569#M40376</link>
      <description>Thank you for giving a reply.&lt;BR /&gt;&lt;BR /&gt;Please find the attachment to have a clear problem description.</description>
      <pubDate>Fri, 20 Aug 2010 10:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677569#M40376</guid>
      <dc:creator>RAVI KISHORE_1</dc:creator>
      <dc:date>2010-08-20T10:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677570#M40377</link>
      <description>&lt;!--!*#--&gt;Much better.&lt;BR /&gt;&lt;BR /&gt;Just use a VIRTUAL, COMPUTED BY field.&lt;BR /&gt;&lt;BR /&gt;You can declare that on the fly as per below, or in the record.&lt;BR /&gt;&lt;BR /&gt;In the record, which you failed to provide a sample definition for, you can make the compute by easier by creating subfields for POSTED_YY, POSTED_MMDD but the can hinder also.&lt;BR /&gt;&lt;BR /&gt;Here is a sample scenario...&lt;BR /&gt;&lt;BR /&gt;DTR&amp;gt; define record ledger_record&lt;BR /&gt;DFN&amp;gt; 01 ledger.&lt;BR /&gt;DFN&amp;gt; 03 LEDGER-KEY-TYPE PIC X.&lt;BR /&gt;DFN&amp;gt; 03 LEDGER-KEY-NUM-9 PIC 9(9).&lt;BR /&gt;DFN&amp;gt; 03 LEDGER-POSTED-DATE-ALPHA PIC X(6).&lt;BR /&gt;DFN&amp;gt; ;&lt;BR /&gt;[Record is 16 bytes long.]&lt;BR /&gt;DTR&amp;gt; define domain LEDGER-FILE using ledger_record on tmp.tmp;&lt;BR /&gt;DTR&amp;gt; fn$spawn&lt;BR /&gt;VRXHT1$ cre tmp.tmp&lt;BR /&gt;1199999999300301&lt;BR /&gt;2929999999300324&lt;BR /&gt;3993999999300420&lt;BR /&gt;1999499999300517&lt;BR /&gt; : &lt;BR /&gt;$ lo&lt;BR /&gt;  Process HEIN_46228 logged out..&lt;BR /&gt;DTR&amp;gt;  declare  LEDGER-POSTED-DATE_HELPER COMPUTED BY FN$STR_EXTRACT (LEDGER-POSTED-DATE-ALPHA,1,2) - 20 +&lt;BR /&gt;[Looking for value expression]&lt;BR /&gt;CON&amp;gt; 100*FN$STR_EXTRACT (LEDGER-POSTED-DATE-ALPHA,3,4).&lt;BR /&gt;DTR&amp;gt; report  LEDGER-FILE&lt;BR /&gt;RW&amp;gt;  PRINT LEDGER-KEY-TYPE ("Key Type"),LEDGER-KEY-NUM-9 ("SUB Number"),&lt;BR /&gt;[Looking for next element in list]&lt;BR /&gt;RW&amp;gt;  LEDGER-POSTED-DATE_HELPER ("Posted"/"Date") using 99/99/99&lt;BR /&gt;RW&amp;gt;  end_report;&lt;BR /&gt;            20-Aug-2010&lt;BR /&gt;             Page 1&lt;BR /&gt;                           Posted&lt;BR /&gt;Key Type    SUB Number      Date&lt;BR /&gt;&lt;BR /&gt;1           199999999     03/01/10&lt;BR /&gt;2           929999999     03/24/10&lt;BR /&gt;3           993999999     04/20/10&lt;BR /&gt;1           999499999     05/17/10&lt;BR /&gt;:</description>
      <pubDate>Sat, 21 Aug 2010 01:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677570#M40377</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-08-21T01:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677571#M40378</link>
      <description>Thank you,&lt;BR /&gt;&lt;BR /&gt;This is useful for me i have one small problem i.e., after creating subfields for ledger-yy,ledger-mmdd could you please tell me how to combine and print them as MM/DD/YY inside the &lt;BR /&gt;Report and end-report statements.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am trying different statements but not getting the slashes between them.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Aug 2010 09:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677571#M40378</guid>
      <dc:creator>RAVI KISHORE_1</dc:creator>
      <dc:date>2010-08-23T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677572#M40379</link>
      <description>learn to read.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Hein.</description>
      <pubDate>Mon, 23 Aug 2010 10:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677572#M40379</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-08-23T10:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: DATATRIEVE HELP NEEDED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677573#M40380</link>
      <description>Thanks for your time&lt;BR /&gt;&lt;BR /&gt;Just now got it&lt;BR /&gt;&lt;BR /&gt;solved by searching the documents.&lt;BR /&gt;&lt;BR /&gt;Thank for the help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Aug 2010 11:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/datatrieve-help-needed/m-p/4677573#M40380</guid>
      <dc:creator>RAVI KISHORE_1</dc:creator>
      <dc:date>2010-08-23T11:17:39Z</dc:date>
    </item>
  </channel>
</rss>

