MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Screens and Graphs Using Easytrieve

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Wed Jul 30, 2003 3:08 am    Post subject: Screens and Graphs Using Easytrieve Reply with quote

Has anyone created screens and graphs using easytrieve?

I tried to execute the following code:

Code:

//EZTCOMPL EXEC PGM=EZTPA00                                 
//EZTVFM DD UNIT=SYSDA,SPACE=(CYL,(25,25))                 
//SYSPRINT DD SYSOUT=*                                     
//SYSABEND DD SYSOUT=*                                     
//SYSOUT   DD SYSOUT=*                                     
//SYSLIN   DD DSN=&&SYSLIN,                                 
//         UNIT=SYSDA,SPACE=(CYL,(20,20),RLSE),DISP=(,PASS)
//SYSIN    DD *                                             
DEFINE NUMBER1  W 8 N 2                                     
DEFINE NUMBER2  W 8 N 2                                     
DEFINE NUMBER3  W 8 N 2                                     
                                                           
SCREEN NAME ADDING-MACHINE                                 
                                                           
  TITLE 'ADDING MACHINE SOLUTIONS'                         
  ROW  5 'NUMBER 1 -----> ' NUMBER1                         
  ROW  7 'NUMBER 2 -----> ' NUMBER2                         
  ROW  9 'RESULT   ----->>' NUMBER3                         
  KEY ENTER NAME 'COMPUTE'                                 
  KEY F3 EXIT NAME ' EXIT'                                 
AFTER-SCREEN. PROC               
  NUMBER3 = NUMBER1 + NUMBER2   
END-PROC                         



It resulted in an error saying:

Code:

1 DEFINE NUMBER1  W 8 N 2                     
2 DEFINE NUMBER2  W 8 N 2                     
3 DEFINE NUMBER3  W 8 N 2                     
                                             
4 SCREEN NAME ADDING-MACHINE                 
4 *******B014 UNABLE TO RECOGNIZE STATEMENT   
                                             
    TITLE 'ADDING MACHINE SOLUTIONS'         
    ROW  5 'NUMBER 1 -----> ' NUMBER1         
    ROW  7 'NUMBER 2 -----> ' NUMBER2         
    ROW  9 'RESULT   ----->>' NUMBER3         
    KEY ENTER NAME 'COMPUTE'                 
    KEY F3 EXIT NAME ' EXIT'                 
                                             
  AFTER-SCREEN. PROC                         
    NUMBER3 = NUMBER1 + NUMBER2               
  END-PROC                                   
  *******B059 PREMATURE END OF FILE           
*******A014 PREMATURE TERMINATION DUE TO PREVIOUS ERROR(S)



Could anyone throw some light? Idea
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
Himesh
CICS Forum Moderator
CICS Forum Moderator


Joined: 20 Dec 2002
Posts: 80
Topics: 21
Location: Chicago

PostPosted: Wed Jul 30, 2003 5:27 am    Post subject: Reply with quote

Hi Vallish,

I guess you need to code the SCREEN definition as the first statement (i.e. before your other declarations).

Please check the below link for more information and then get back.

CAEasytrieve

regards,
himesh
Back to top
View user's profile Send private message Yahoo Messenger
mayuresh.tendulkar
Beginner


Joined: 25 Apr 2003
Posts: 31
Topics: 6
Location: Pune

PostPosted: Wed Jul 30, 2003 5:28 am    Post subject: Reply with quote

Hello Vallish,

What is the version of your Easytrieve?

Question

Regards

Mayuresh
Back to top
View user's profile Send private message Send e-mail
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Wed Jul 30, 2003 6:29 am    Post subject: Reply with quote

Hi Mayuresh,
This is the version of Easytrieve that we are using.
CA-EASYTRIEVE PLUS-6.2 0008

rgds,
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Wed Jul 30, 2003 6:45 am    Post subject: Reply with quote

Hi Himesh,

Even without the DEFINE statements, with the code as:
Code:

SCREEN NAME ADDING-MACHINE                                 
                                                           
  TITLE 'ADDING MACHINE SOLUTIONS'                         
  ROW  5 'NUMBER 1 -----> '                           
  ROW  7 'NUMBER 2 -----> '                         
  ROW  9 'RESULT   ----->>'                           
  KEY ENTER NAME 'COMPUTE'                                 
  KEY F3 EXIT NAME ' EXIT'   


It is giving the same error.

In the link that you have provided, in section 8.1, it says
Quote:

CA-Easytrieve provides all the facilities necessary to display and receive
information from an online terminal. As with other features, the
non-procedural nature of CA-Easytrieve provides relief from having to deal
with many of the complexities of transaction programming.

Note: Screen processing activities are available only in
CA-Easytrieve/Online and CA-Easytrieve/Workstation.


Does this mean that there are different versions of Easytrieve, separate for batch and for online ? Rolling Eyes
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
mayuresh.tendulkar
Beginner


Joined: 25 Apr 2003
Posts: 31
Topics: 6
Location: Pune

PostPosted: Wed Jul 30, 2003 7:54 am    Post subject: Reply with quote

Hello Vallish,

The reason why I asked you is because

"Screen processing activities are available only in CA-Easytrieve/Online and CA-Easytrieve/Workstation."

Just check up if your facility has this version.

Regards

Mayuresh
Back to top
View user's profile Send private message Send e-mail
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Thu Aug 07, 2003 10:15 am    Post subject: Reply with quote

Hi,

Does this CA-EASYTRIEVE online feature work on MVS(Mainframe) platform?

Thanks
Anand
Back to top
View user's profile Send private message
hari_uss
Beginner


Joined: 19 Dec 2002
Posts: 78
Topics: 6
Location: Trivandrum, India

PostPosted: Wed Aug 13, 2003 3:12 pm    Post subject: Reply with quote

CA says Easytrieve/Online is an alternative for command level CICS development.
http://support.ca.com/techbases/easytrev/easytrv5510.html

Hari.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group