Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compiler is not Recognizing the Screen Section.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Mon Mar 17, 2008 7:13 pm    Post subject: Compiler is not Recognizing the Screen Section.
Reply with quote

Hi All,

I am using Screen section in my cobol program. But complier is not recognizing it. (While compile it is giving error).

Note : Type Of Compile : COBOLE

Please let me know why it is showing error.

Thanks,
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Mar 17, 2008 7:20 pm    Post subject:
Reply with quote

The version of COBOL you are using does not support the SCREEN SECTION.
Back to top
View user's profile Send private message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Mon Mar 17, 2008 7:30 pm    Post subject:
Reply with quote

Thanks a lot.

Please let me know one more thing is there any other option which is similiar to Screen section. (Basically I am trying to do some kind of utility which requires input should be entered on the Screen.)

Thanks,
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Mar 17, 2008 7:51 pm    Post subject:
Reply with quote

Hello,

Mainframe COBOL programs that require screen input are usually implemented in CICS.

If you are running on the mainframe and want to use a screen, how do you plan on doing this outside of cics?

Wjhen you receive an error and want assistance solving it, you need to post the error.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Mar 17, 2008 8:25 pm    Post subject:
Reply with quote

brit_ch01 wrote:
Basically I am trying to do some kind of utility which requires input should be entered on the Screen


Why aren't you using an ISPF panel, then, if this input needs to come from a TSO/ISPF session?
Back to top
View user's profile Send private message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Mon Mar 17, 2008 8:33 pm    Post subject:
Reply with quote

superk wrote:
brit_ch01 wrote:
Basically I am trying to do some kind of utility which requires input should be entered on the Screen


Why aren't you using an ISPF panel, then, if this input needs to come from a TSO/ISPF session?



I am not getting. Can you please elaborate.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Mar 17, 2008 8:41 pm    Post subject: Reply to: Compiler is not Recognizing the Screen Section.
Reply with quote

Why don't we start this over from the beginning.

My guess is that you want to create an interactive program. Where (in what environment) is this program going to be running?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Mar 17, 2008 9:45 pm    Post subject:
Reply with quote

Hi,

Quote:
input should be entered on the Screen
Does ACCEPT verb suffice Your need, if CICS etc are not desirable? However, usually ACCEPT is not acceptable in Production of many shops.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Mar 17, 2008 10:19 pm    Post subject:
Reply with quote

Hello,

I don't know an easy way to ACCEPT data entered on a screen. . . icon_confused.gif
Back to top
View user's profile Send private message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Tue Mar 18, 2008 11:07 am    Post subject: Re: Reply to: Compiler is not Recognizing the Screen Section
Reply with quote

superk wrote:
Why don't we start this over from the beginning.

My guess is that you want to create an interactive program. Where (in what environment) is this program going to be running?



Yes I need to create an interactive Program. My program is going run in
test region only
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Mar 18, 2008 11:31 am    Post subject:
Reply with quote

If this your test interactive program with accept and display, then try
tso call 'loadlib module'
Back to top
View user's profile Send private message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Tue Mar 18, 2008 7:47 pm    Post subject: Re: Reply to: Compiler is not Recognizing the Screen Section
Reply with quote

superk wrote:
Why don't we start this over from the beginning.

My guess is that you want to create an interactive program. Where (in what environment) is this program going to be running?


The link which you have provided is very high level. Can you please
provide some link which will have the basic information
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 18, 2008 10:39 pm    Post subject:
Reply with quote

Hello,

Quote:
My program is going run in test region only
Please clarify what "test region" means to you.

Keep in mind that while you understand your requirement clearly, most here do not.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 19, 2008 8:20 am    Post subject:
Reply with quote

Hi,

I think you need feactures such as present in a program "Day Finder" on this site. Check it out..

http://www.ibmmainframes.com/programs.php.

It allows the user to enter Century, Month, Date (perhaps not in same order) and returns the Day of that date.
Back to top
View user's profile Send private message
dr_te_z

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Thu Mar 20, 2008 5:07 pm    Post subject:
Reply with quote

For cobol-batch you can code "display upon console" and "accept from console" to interact with the operator at execution time. I saw this in a VSE environment. When we converted to MVS this was a "show-stopper" and had go...

But still, "display upon sysout" is still used in MVS-es for simple run-reports and so on.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 20, 2008 7:54 pm    Post subject:
Reply with quote

Hello,

Quote:
But still, "display upon sysout" is still used in MVS-es for simple run-reports and so on.
This would allow the code to "show" things, but does not provide for the code "get"ing things.

The program is to be interactive.

TS still has not posted in which envirponment this program will execute.
Back to top
View user's profile Send private message
brit_ch01

New User


Joined: 24 Dec 2007
Posts: 13
Location: Mumbai

PostPosted: Fri Mar 21, 2008 1:05 pm    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

Quote:
My program is going run in test region only
Please clarify what "test region" means to you.

Keep in mind that while you understand your requirement clearly, most here do not.


My program is going run in Mainframes Environment (Test region)
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 21, 2008 7:23 pm    Post subject:
Reply with quote

Hello,

Once again - what does "test region" mean to you? The entire world is not configures as your site is. To some a test region is an entire lpar. To some it is merely a set-aside cics region. Some environments have test database subsystems, some do not. And on and on and on. . .

You need to describe your environment and explain where your process is supposed to execute. Is it tso or cics or something else?

If you cannot describe what you need to do, you will not get many useful answers. Some folks may guess, but it will be only luck if a usable reply is made.

From what you have posted, it sounds like you are not extremely familiar with the mainframe and what you are working with is code that was written to run on a pc or a unix system.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Mar 21, 2008 8:28 pm    Post subject:
Reply with quote

brit_ch01 Have you tried the option which I posted?
Quote:

If this your test interactive program with accept and display, then try
tso call 'loadlib module'
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us