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 SkipVought 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: *

  1. GC1CEO

    Reflecting form changes

    I have been puzzled with this for a while as I work on and off on a project, I want to have the ability to hit a button, have it change a value and to make changes to the forms. The closest option I have found is requery but it reloads the entire set of records and I don't want it changing the...
  2. GC1CEO

    cobol dead?

    Cobol is dead in the sense that its a language that you won't see new applications, games, etc programmed in COBOL.. However with larger companies, their entire systems are usually coded in COBOL and have had them in that language for decades and its way too expensive to upgrade to another...
  3. GC1CEO

    printing reports

    If you have already printed something to file, why not just open it with a text editor and print it ?? If you are asking to take an output file which was written to disk and use it as input, that is most likely impossible depending on how the output is. Chris Green Computer Information Systems...
  4. GC1CEO

    assigning clause

    One solution there might define a seperate file, and then put in a WRITE command which copies the entire disk output file to a seperate printer output file... Will allow you to do what you desire within the code itself instead of relaying on a printer utility Chris Green Computer Information...
  5. GC1CEO

    DECIMAL POINTS

    In simpler terms, you use an implied decimal place in an input file (or other file you read from) I.E If the data for a field is supposed to be 18.99 if you didn't put the assumed decimial place it would read it as 1899. However when you are going to be displaying the decimal point (on a...
  6. GC1CEO

    REDEFINES usage

    The REDEFINES allows you to provide a redefinition of a name, redefinition of the PIC clause for the name or both. 05 ONE-TYPE-DATA PIC 9(5). 05 TWO-TYPE-DATA REDEFINES ONE-TYPE-DATA PIC 9(4). 05 ONE-NAME PIC X(3). 05 TWO-NAME REDEFINES ONE-NAME. Note that the second example doesn't redefine...
  7. GC1CEO

    Having Problems getting a program to run

    Most likely the filenames are mispelled, also for compatability sake you might want to shorten the names so they are fine under standard DOS conventions (otherwise, 8 character names and 3 character file type). BTW nice program layout for somebody in an intro class, I took my intro COBOL class...
  8. GC1CEO

    COBOL Forms

    Actually in the COBOL class I take, its REQUIRED we create both the pseudocode and the printer spacing chart for each assignment (the spacing chart helps me out alot actually), but I'm not sure where you could find them on-line (if worse comes to worse, I could try and scan it in.. however its...
  9. GC1CEO

    How to conduct arthimetic operations on the current date and time

    First, to get the current date and time (Y2K compliant), the function name is current-date (this covers BOTH date and time), first you need to seperate it into different parts if you want to perform operations with them, for example if you wish to compare the current year to a number in storage...
  10. GC1CEO

    How does a conditional work (the 88 thing)?

    An example of a conditional would be: 05 STORE-CODE PIC XX. 88 BOSTON VALUE 01. 88 NEW-YORK VALUE 02. 88 TORONTO VALUE 03. In this example, when you get down to a usual IF statement, without using a conditional you might say something like...
  11. GC1CEO

    Using the REDEFINES

    Yep I finally understood it after asking a teacher about it, it just seemed to me that some kind of additional functions or verbs were neccesary to invoke the other fields... Chris Green Computer Information Systems Student Cayuga Community College -- Fulton
  12. GC1CEO

    Using the REDEFINES

    I'm creating a program which uses the REDEFINES clause in both the input and output sections of the program, where the field size changes depending on the REDEFINES.. Only problem is I am a bit ahead of the class lectures and haven't figured out how to set it in the program so it knows which to...
  13. GC1CEO

    need help with conbreaks

    I had to do conditional breaks in my first COBOL class... and in all of my programs since then (the usual being a page check), but also to do sub-totals, etc, etc..
  14. GC1CEO

    Input Recs

    I have no idea how to read in more then one record but my guess would be it would have something to do with using the userid as the primary key.. probably not alot of help..

Part and Inventory Search

Back
Top