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 Wanet Telecoms Ltd 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

    ...the second one somewhere.....It skips over the second row without printing it.... OPTIONS MAIN IDENTIFICATION DIVISION. PROGRAM-ID. REPORT1. * PROGRAMER: * DATE WRITTEN: * * THIS PROGRAM PRINTS A REPORT * WITH COLUMN HEADINGS WITH TWO * RECORDS ON EACH LINE...
  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

    ...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 PROGRAM PRINTS A PATRON ADDRESS LIST * USING...
  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?

    ...num2, answer; cout<<&quot;Enter Number: &quot;<<endl<<num1; cin>>num1; cout<<&quot;Enter Number: &quot;<<endl<<num2; cin>>num2; answer=num1*num2; return answer; } long divide_function(int type_coice,int main_choice) { long num1, num2, answer; do { cout<<&quot;Enter Number...
  15. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    ...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 * RECORDS ON EACH LINE...
  16. bluedemus

    Help With Cobol Program

    ...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 * RECORDS ON EACH LINE...
  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

    ...My output is only printing 1 column of info..help.... 000010 @OPTIONS MAIN 000020 IDENTIFICATION DIVISION. 000030 PROGRAM-ID. REPORT1. 000040* PROGRAMER: WENDY HANKS 000050* DATE WRITTEN: 9/06/2002 000060* DUE DATE: 9/26/2002 000070 000080* THIS PROGRAM PRINTS A REPORT...
  20. bluedemus

    HELP WITH SIMPLE COBOL PROGRAM

    ...My output is only printing 1 column of info..help.... 000010 @OPTIONS MAIN 000020 IDENTIFICATION DIVISION. 000030 PROGRAM-ID. REPORT1. 000040* PROGRAMER: WENDY HANKS 000050* DATE WRITTEN: 9/06/2002 000060* DUE DATE: 9/26/2002 000070 000080* THIS PROGRAM PRINTS A REPORT...

Part and Inventory Search

Back
Top