Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: carolly
  • Content: Threads
  • Order by date
  1. carolly

    Compound Index Keys

    I have a file that I need to create and indexed file for but the data is not unique. I have multiple occurances of customer-id, date-hire, time-hire, date-return and time-return. I tried setting up the compound key to be customer-id, date-hire and time-hire which works fine, but when I set the...
  2. carolly

    Indexed Files

    I am using an indexed file for a program and the data is set up exactly the same in both but I get an error message of 1035-E Key is not wholly contained within minmum record length. This is the 4th program that is using this inded file and the other 3 are fine. Any ideas?
  3. carolly

    table entries

    I have 2 input files to read. The first one CUSTOMER-FILE has 6 records that I can load directly into my 2 dimensional 6 x 4 table. The problem that I am having is loading the data from the USER-FILE into the same table as it has 15 records and some of those records will have the same ID number...
  4. carolly

    date time conversion

    I am required to convert date and time information to the same data type to work out hours between 2 times i.e: start date 121200 at 1001 (24 hour time) finish date 130101 at 1000 how would I convert the days and times to the same data type so I can calculate hours and change it back to number...
  5. carolly

    Error Message 203

    I keep coming up with an error message 203 in my sub program. I am sure that I have called the sub program correctly but this message says that I have not initialised the item. I have initialised the item in the main program to zero and again in the subprogram. This is the code that I have...
  6. carolly

    Error 153

    I am receiving an error subscript out of range Error 153 for the following table and query. 01 REPORT-TABLE 05 CUST OCCURS 6 TIMES DEPENDING ON CUST-SUB 10 CUSTOMER 10 DAYS OCCURS 4 TIMES INDEXED BY DAYS-SUB 15 T-1-DAY PIC 9(02). 15 T-2-DAY PIC 9(02). 15...
  7. carolly

    Linking

    I am a little confused about linking sub programs. My books state that the main program will call the subprogram from a library. It must have the same details in Working Storage as the linkage section in the subprogram to be called, but how does the subprogram become part of a library?
  8. carolly

    calling a sub program to calulate time

    I am writing a report to show the customers that have had a hire for 4 different time frames. This is done in a sub program called by the main. I am stumped by what calculations I need to perform as I only have start-time, end-time, hire-date,return-date. I have to work how many of those...
  9. carolly

    Loading data into a 2 dimensional table

    I have 2 input files that I need to load the information from into a 2 dimensional table. The table data will vary, therefore should I set the size of the table at a maximum size? The report that is required from this information shows client ID's and days of hire into 4 different time frames...

Part and Inventory Search

Back
Top