COBOL Questions


How to read a PF from bottom up?
Wihtout using a LF how can i read a PF from bottom to up in cobol. If i use posdbf(*last) in clp  then how to proceed after that ?

Answer Question   |  January 20, 2010  9:46 AM
CLP, COBOL, PF
asked by:
165 pts.

Necessity of a multi-member PF in COBOL
How do we read a multimember PF in cobol ?How does it differ from a regular PF ?

Answer Question   |  November 30, 2009  9:05 AM
COBOL, Physical Files
asked by:
165 pts.

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. Regards Sylvana.

Answer Question   |  November 27, 2009  5:50 PM
AS/400 printing, COBOL, iSeries Cobol programming, Printer File
asked by:
185 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.

Answer Question   |  November 11, 2009  6:55 AM
COBOL, RPG, RPG Program
asked by:
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 looking to replace hard-coding of occurs clauses with [...]

Answer Question   |  November 9, 2009  5:14 PM
ABEND, Buffer overflow, COBOL, Easytrieve
asked by:
20 pts.

cobol book
hi everybody, i wanna buy a cobol book . Anyone knows about good book?   thanks.

Answer Question   |  November 9, 2009  10:25 PM
COBOL, COBOL Books, COBOL Education
asked by:
185 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′ ?

Answer Question   |  October 27, 2009  4:50 AM
AS/400, COBOL, DSPF
asked by:
185 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                          DEBIT should act as a PIC ZZZZZZZ,ZZZ,ZZ9.99              else                         DEBIT should act as a PIC  ZZZ,ZZZ,ZZZ,ZZ9.99 Please Suggesst me..

Answer Question   |  March 17, 2010  1:01 PM
CL/400, COBOL, COBOL/400
asked by:
50 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

Answer Question   |  February 23, 2012  5:36 PM
COBOL, COBOL Programs
asked by:
185 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?

Answer Question   |  October 23, 2009  8:55 AM
AS/400, CL/400, COBOL, COBOL/400
asked by:
50 pts.

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

Answer Question   |  October 22, 2009  1:12 AM
COBOL, ILE COBOL
asked by:
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  

Answer Question   |  August 20, 2010  9:13 AM
Careers, COBOL, IT careers, Mainframe careers, SAP ABAP, SAP careers
asked by:
5 pts.

LIKE command in cobol
how to use LIKE command in cobol programming

Answer Question   |  October 8, 2009  4:29 PM
COBOL, LIKE statement
asked by:
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 properly. I also [...]

Answer Question   |  October 28, 2009  5:31 PM
AS/400, COBOL, Embedded SQL, iSeries
asked by:
75 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

Answer Question   |  September 9, 2009  12:27 PM
CICS, COBOL, DB2, OS/390, RACF
asked by:
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

Answer Question   |  August 31, 2009  3:04 PM
AS/400, AS/400 programming, COBOL
asked by:
20 pts.

cobol to xml conversion
is there any utility which can convert my cobol files to xml format or cobol to business objects.

Answer Question   |  August 14, 2009  10:50 AM
COBOL, cobol to xml conversion, XML
asked by:
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?

Answer Question   |  August 10, 2009  8:08 PM
COBOL, EXEC, Programming, SELECT
asked by:
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   |  May 18, 2011  9:30 PM
Brainbench, COBOL, COBOL certifications
asked by:
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 CONFIGURATION SECTION. 000005 SPECIAL-NAMES. 000006 DATE IS “S-”. 000007* A- American, E- European. 000008 [...]

Answer Question   |  July 11, 2009  10:27 AM
COBOL, COBOL debugging, COBOL ERROR MESSAGE
asked by:
5 pts.