COBOL Questions and Answers

Recent IT Questions

1 - 20 of 154
<<PREVIOUS 1|2|3|4|5|6|7|8 NEXT>>

how to use a printer file in a program cobol

hi, how to use a printer file in a program cobol. i have the following: (I wanna know if the write part is correct)  MOVE M1DESC TO M1DESC-DSP.            MOVE M1DESC-DSP TO R1DESC-PRT.        MOVE PRINTER-LINE TO HIPR01R-RECORD.  WRITE HIPR01R-RECORD FROM PRINTER-LINE. ...

View Answer   |  Nov 9 2009  5:50 PM GMT
COBOL, Printer File, AS/400 printing
asked by Sylvana

  180 pts.

rpg

I have five indexed files in rpg prog. Can I decleared common key field parameters for all five files? Is it possible in cobol ? If not how will solve this querry in cobol ? Explain with an ex.

View Answer   |  Nov 9 2009  6:55 AM GMT
RPG Program, RPG, COBOL
asked by Mahesh11

  5 pts.

Coding to prevent table overflows withing programs

In this new world of zero tollerance for abends and the goal of 100% production stability, I have been charged with determining the best method to prevent abends due to internal program table overflows.  Our environment has Cobol, Eztrieve and Assembler programs with internal tables.  We are...

View Answer   |  Nov 6 2009  5:14 PM GMT
Buffer overflow, ABEND, COBOL
asked by NanetteHaraden

  15 pts.

cobol book

hi everybody, i wanna buy a cobol book . Anyone knows about good book?   thanks. Software/Hardware used: as400

View Answer   |  Nov 5 2009  10:25 PM GMT
COBOL, COBOL Education, COBOL Books
asked by Sylvana

  180 pts.

what is the correct form to read and write the formats of the dspfile?

hi, what is the correct form to read and write the formats of the dspfile? i don t know if is it correct: READ PANTALLA2 FORMAT IS 'ASU906CEF1' what is the meaning of 'ASU906CEF1' ? Software/Hardware used: as400

View Answer   |  Oct 27 2009  4:50 AM GMT
COBOL, AS/400, DSPF
asked by Sylvana

  180 pts.

COBOL: Is it possible to apply a different Pic clause to a single variable?

Is it possible to use a different  Pic clause from a single variable? based on the condition. DEBIT             PIC ZZZZZZZ,ZZZ,ZZ9.99                      PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example              When true...

View Answer   |  Oct 26 2009  1:01 PM GMT
COBOL/400, CL/400, COBOL
asked by Promodhss

  35 pts.

HOW I MAKE A COBOL PROGRAM THAT USE A DISPLAY FILE

HI, I don t know how to make a cobol program that use a display file, Please i need help. Maybe someone have a shell to do this. thanks.   Sylvana Software/Hardware used: as400

View Answer   |  Oct 23 2009  5:36 PM GMT
COBOL, COBOL Programs
asked by Sylvana

  180 pts.

How to copy source code of Pgm into Flatfile in COBOL

I want to read the one of the pgm's source code through my another program. So anyone plz suggest me how can i read the source code?

View Answer   |  Oct 22 2009  8:55 AM GMT
AS/400, COBOL/400, CL/400
asked by Promodhss

  35 pts.

COBOL Debugging

In as400, I can use STRISDB for Cobo LE, But it is not work Cobol, How to debug non ILE cobol?

View Answer   |  Oct 22 2009  1:12 AM GMT
COBOL, ILE COBOL
asked by Hidi

  5 pts.

SAP or Mainframe

hi.       I m fresher and want to go into specilaisation either to SAP or Mainframe.I have an aggreagte of 60% throughout my degree of B.E in I.T.  I am little bit confuse to which option to choose right now? So if anybody plaese help me to sort out this quetion  

View Answer   |  Oct 21 2009  9:13 AM GMT
SAP ABAP, COBOL, SAP careers
asked by Virajfresher

  5 pts.

LIKE command in cobol

how to use LIKE command in cobol programming Software/Hardware used: software

View Answer   |  Oct 7 2009  4:29 PM GMT
LIKE statement, COBOL
asked by Requirement

  5 pts.

AS400, SQL and COBOL anomalies

I coded an update query in COBOL and included COMMIT=NONE so the update could go through. When the COBOL program executed it returned nulls, and coalesced the value to the default. When the query was executed either through qmqry or on-line on the sql screen it worked fine and updated the field...

View Answer   |  Sep 23 2009  5:31 PM GMT
AS/400, COBOL, iSeries
asked by Matis

  25 pts.

GET OPID SEGMENT CICS FROM A COBOL/DB2/CICS PROGRAM (RACF)

Please I need Get the OPID segment CICS  of RACF from a COBOL/CICS  Program.   Thanks JORGE Software/Hardware used: OS/390 2.10 and RACF and CICS

View Answer   |  Sep 9 2009  12:27 AM GMT
RACF, OS/390, CICS
asked by RACF

  5 pts.

How to get rid of compile error message?

In my printer file, I created a header with no picture clause for it and it is giving me an error message when I try to compile my COBOL program Software/Hardware used: AS/400

View Answer   |  Aug 28 2009  3:04 PM GMT
COBOL, AS/400, AS/400 programming
asked by Masferalloy

  20 pts.

cobol to xml conversion

is there any utility which can convert my cobol files to xml format or cobol to business objects. Software/Hardware used: cobol,business objects xi R2

Answer Question   |  Aug 14 2009  10:50 AM GMT
cobol to xml conversion, COBOL, XML
asked by Bhaskar99

  5 pts.

Forced Date Routine Processing

I’m trying to process a RUNDATE = 2009-08-07 into my COBOL code via a PARM-DATE Link. That date comes in… now I try to place it in the following piece of code: EXEC SQL SET :WS-PREV-WK = CHAR(DATE(TMP-DATE)- 7 DAYS) END-EXEC. What am I getting '0001-01-01' returned?

View Answer   |  Aug 7 2009  8:08 PM GMT
EXEC, SELECT, COBOL
asked by A30TPX

  5 pts.

Difference between COBOL I and COBOL II

I am going to appear for a brainbench COBOL II test soon, can somebody tell me the difference between COBOL I and COBOL II. I would also like to know your experience (if any) with brainbench COBOL II test, the pattern, difficulty and most important, will brainbench certificate help me get a job?

Answer Question   |  Jul 16 2009  9:30 PM GMT
COBOL, Brainbench, COBOL certifications
asked by BKawachale

  5 pts.

ERROR MESSAGE

Hello, I AM A BINGINNER IN COBOL PROGRAM: MY FIRST PROGRAME NOT COMPILING WITH THIS ERROR MESSEAGE PLEASE PUT ME THROUTH 000026 HELLO 15 110 No initial SECTION. sourse Code Attached below IDENTIFICATION DIVISION. 000002 PROGRAM-ID. PROGRAM-HELLO. 000003 ENVIRONMENT DIVISION. 000004...

View Answer   |  Jul 10 2009  10:27 AM GMT
COBOL ERROR MESSAGE, COBOL debugging, COBOL
asked by EMMAX

  5 pts.

Cobol Compiler Limits

What is the max no of source lines can an AS400 cobol compiler accepts?

Answer Question   |  Jul 9 2009  1:02 PM GMT
COBOL Compiler Limits, COBOL, COBOL Compiler
asked by Dpalle

  5 pts.

Subfiles in COBOL (Single Page, Load All, Expand)

Can anybody please provide sample code (simple) for the 3 Subfiles in COBOL/400??

View Answer   |  Jul 3 2009  12:44 AM GMT
COBOL/400, COBOL, Subfile
asked by MAGIC

  185 pts.

1 - 20 of 154
<<PREVIOUS 1|2|3|4|5|6|7|8 NEXT>>