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 CharlieBrowne32,825 pts.
All Answer Wiki Contributors: CharlieBrowne32,825 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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..
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
Thank you Charlie, now the program is ok
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..
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