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. bluedemus

    Help With Cobol Program

    THANKS GUYS! I figured it out...including what if I had an odd number of records....I'm working on a new one and I'm sure I will have questions........
  2. bluedemus

    Help With Cobol Program

    I did lose print lines when assigning to printer
  3. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    Thanks Erba...my problem has been solved....
  4. bluedemus

    Help With Cobol Program

    Dimandja And Slade Thank-You...I understand...And I am so happy...That is sort of what I was thinking, but I was making it harder than it is.....!!!!! I feel like I started the first COBOL war online...grin
  5. bluedemus

    Help With Cobol Program

    And I guess my main question is...what should I change to print both columns of my report, since I am only getting one?????
  6. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. REPORT1. * PROGRAMER: * DATE WRITTEN: * * THIS PROGRAM PRINTS A REPORT * WITH COLUMN HEADINGS WITH TWO * RECORDS ON EACH LINE ENVIRONMENT DIVISION. CONFIGURATION SECTION. SOURCE-COMPUTER. IBM-PC...
  7. bluedemus

    Help With Cobol Program

    OK I see an error on my old program, but that has been long fixed....below is my program and my output..I'm only getting 1 row of info and losing the second one somewhere.....It skips over the second row without printing it.... OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. REPORT1. *...
  8. bluedemus

    Help With Cobol Program

    I have to have 2 sets of names in order to print two first names, two last names, and two extentions on each line printed on my report ...output should look like this............. Last Name First nam Ext Last Name First nam Ext Auston Bob 4566Alford John 3333 and so on
  9. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    erba, Thank you for your help, but I can't use Go statements. this is the format of the output expected... col headings are Last Name First Nam Ext Last Name First Nam Ext Aston bob 4554 Alford James 5566
  10. bluedemus

    Help With Cobol Program

    K5tm, not sure if I understand..new at this...
  11. bluedemus

    PowerCobol V4 sample programs wanted

    goto....www.geocities.com/Eureka/2006/ http://personal.bhm.bellsouth.net/bhm/j/u/judmc/ here is a simple example..... @OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. PATLIST. * PROGRAMMER: Me * DATE WRITTEN: 08/21/2002 * DATE DUE: 09/05/2002 * THIS...
  12. bluedemus

    Random number output to text file

    This is sample code to print out a 5 by 6 array of lotto numbers...I'm not sure if this is what you need... #include <stdlib.h> #include <stdio.h> #include <time.h> #include <iostream.h> void GenerateNumbers( int lotto[][6] ); main() { int lotto[5][6], r, c; srand(( unsigned )...
  13. bluedemus

    Random number output file

    Well, here is a sample that generates a 5 by 6 array...aka lotto drawing....I'm not sure if this is what you are asking for...... #include <stdlib.h> #include <stdio.h> #include <time.h> #include <iostream.h> void GenerateNumbers( int lotto[][6] ); main() { int lotto[5][6], r, c...
  14. bluedemus

    How do you call a function?

    Here is one of my programs as example...hope this helps... Do you have a specific project? #include <iostream.h> #include <math.h> #define TRUE 1 #define FALSE 0 int Process_Function(int type_choice, int main_choice); void datatype(Process_Function); int main_menu(Process_Function); int...
  15. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    Actually...this is what I meant to post.... Now, I'm only getting an output report with my column headings??? I'm pulling my hair out now.....!!! @OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. REPORT1. * PROGRAMER: * DATE WRITTEN: * * THIS PROGRAM PRINTS A REPORT...
  16. bluedemus

    Help With Cobol Program

    Now, I'm only getting an output report with my column headings??? I'm pulling my hair out now.....!!! @OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. REPORT1. * PROGRAMER: * DATE WRITTEN: * * THIS PROGRAM PRINTS A REPORT * WITH COLUMN HEADINGS WITH TWO *...
  17. bluedemus

    Help With Cobol Program

    WOULD THIS BE CORRECT???? 100-PREPARE-EMPLOYEE-LINES. 000891 READ EMPLOYEE-FILE 000892 AT END 00089 MOVE &quot;YES&quot; TO SW-EOF-SWITCH. 000894 IF SW-EOF-SWITCH IS EQUAL TO &quot;NO &quot; 000895 MOVE SPACES TO EMPLOYEE-LINE 000911 MOVE EL-LNAME TO...
  18. bluedemus

    Help With Cobol Program

    OOPs...I retyped the code backwards....I did move ER- to EL-in my program for compile. The problem was: I couldn't figure out the format to do 2 Reads to write both lines.
  19. bluedemus

    Help With Cobol Program

    Can anyone help me with my program??? I'm trying write a report with col headings as: last name first name ext last name first name ext here is a copy of my program....This problem is in my Procedure division.......process-employee-lines.... My output is only printing 1 column of...
  20. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    Can anyone help me with my program??? I'm trying write a report with col headings as: last name first name ext last name first name ext here is a copy of my program....This problem is in my Procedure division.......process-employee-lines.... My output is only printing 1 column of...

Part and Inventory Search

Back
Top