× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanq all for your valuable suggestions / time.

Rgds

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of
cobol400-l-request@xxxxxxxxxxxx
Sent: Friday, April 07, 2006 10:30 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: COBOL400-L Digest, Vol 4, Issue 32

Send COBOL400-L mailing list submissions to
        cobol400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.midrange.com/mailman/listinfo/cobol400-l
or, via email, send a message with subject or body 'help' to
        cobol400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
        cobol400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of COBOL400-L digest..."


Today's Topics:

   1.  How to view data in alphabetical order in a subfile
      (Bhat, Chandra)
   2. Re:  How to view data in alphabetical order in a subfile
      (Geir.Kildal@xxxxxxxxxxxxxxx)
   3. Re:  How to view data in alphabetical order in a subfile
      (Roman Miklos)


----------------------------------------------------------------------

message: 1
date: Fri, 7 Apr 2006 12:28:19 +0800 
from: "Bhat, Chandra" <Chandra.Bhat@xxxxxxxxxxxx>
subject: [COBOL400-L] How to view data in alphabetical order in a
        subfile

Folks,
 
In the below subfile, The records are displayed in the alphabetical order.
Now, what I want to know is how can I view records from a particular
customer name starting with alphabet say 'P' if when I enter P or PXXXXX in
the 'Position' to field?  
 
                                                   
                                                              Position to  .
. . . .              
 

 Type options, press Enter.

  2=Edit       3=Add     4=Delete                            
  
     Cust.Name     City                     A/c No

      A1                MUMBAI              10001

      A2                DELHI                  10002

      B1                HYDERABAD       20001

      B2                KOLKATA            20002

      C1                PUNE                  30001

      C2                CHENNAI             30002

      D1                BANGALORE       40001

      D2                NAGPUR              40002

      -                    -     
      -                    -    
 
Rgds
 
 
     
 
IMPORTANT NOTICE: 

The information in this email (and any attachments) is confidential. 
If you are not the intended recipient, you must not use or disseminate the
information.
If you have received this email in error, please immediately notify me by
"Reply" command 
and permanently delete the original and any copies or printouts thereof. 
Although this email and any attachments are believed to be free of any virus
or 
other defect that might affect any computer system into which it is received
and opened, 
it is the responsibility of the recipient to ensure that it is virus free
and no responsibility 
is accepted by American International Group, Inc. or its subsidiaries or
affiliates either 
jointly or severally, for any loss or damage arising in any way from its
use.


------------------------------

message: 2
date: Fri, 7 Apr 2006 10:04:35 +0300
from: <Geir.Kildal@xxxxxxxxxxxxxxx>
subject: Re: [COBOL400-L] How to view data in alphabetical order in a
        subfile

Hi.

The following will work:

When loading your subfile from the database, you are probably using a
logical file(LF) with the name as key(or part of the key).

Move the value of the 'Position to' field to the key, and START the file(LF)
NOT LESS than the key-value, and READ NEXT RECORD from there...

Do this every time you cange the 'Position to' field



Mvh.

Geir Kildal



-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx]On Behalf Of Bhat, Chandra
Sent: Friday, April 07, 2006 6:28 AM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] How to view data in alphabetical order in a
subfile


Folks,
 
In the below subfile, The records are displayed in the alphabetical order.
Now, what I want to know is how can I view records from a particular
customer name starting with alphabet say 'P' if when I enter P or PXXXXX in
the 'Position' to field?  
 
                                                   
                                                              Position to  .
. . . .              
 

 Type options, press Enter.

  2=Edit       3=Add     4=Delete                            
  
     Cust.Name     City                     A/c No

      A1                MUMBAI              10001

      A2                DELHI                  10002

      B1                HYDERABAD       20001

      B2                KOLKATA            20002

      C1                PUNE                  30001

      C2                CHENNAI             30002

      D1                BANGALORE       40001

      D2                NAGPUR              40002

      -                    -     
      -                    -    
 
Rgds
 
 
     
 
IMPORTANT NOTICE: 

The information in this email (and any attachments) is confidential. 
If you are not the intended recipient, you must not use or disseminate the
information.
If you have received this email in error, please immediately notify me by
"Reply" command 
and permanently delete the original and any copies or printouts thereof. 
Although this email and any attachments are believed to be free of any virus
or 
other defect that might affect any computer system into which it is received
and opened, 
it is the responsibility of the recipient to ensure that it is virus free
and no responsibility 
is accepted by American International Group, Inc. or its subsidiaries or
affiliates either 
jointly or severally, for any loss or damage arising in any way from its
use.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.