185 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
ASKED: October 23, 2009  5:36 PM
UPDATED: February 23, 2012  1:35 AM

Answer Wiki:
IN the FILE-CONTROL section assign your file TO WORKSTATION-xxxx where xxx is the name of your display file (DSPF) Then just read and write to the formats in the file.
Last Wiki Answer Submitted:  October 23, 2009  8:52 pm  by  CharlieBrowne   32,825 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,825 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

HI Charlie B.
Idon t know what is the way to make a cobol program in AS400.
Could you tell me what is this , please

thank you

 185 pts.

 

Thank you Charlie, now the program is ok

 185 pts.

 

how to write a simplest display file in cobol.
like to recieve a 2 values from dsp file & add them & then display sum in Display file…
please help me..

 40 pts.

 

how to write a simplest display file in cobol.

That’s what the manuals are for.

Look at the ILE COBOL Programmer’s Guide. There are examples already available in the manuals. See Example of a Basic Inquiry Program Using Transaction Files.

Tom

 107,915 pts.