Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads

 MAINFRAME - TIP OF THE DAY : Q. If there is a situation, where we need to code more than 255 steps in a JOB? A. We need to split jcl into two jcls , at the end of the first jcl check the condition code and initiate the second jcl.

 Web mainframegurukul.com

Programmers Voted for below topics.      Please Vote for good Posts. Votes Salutes
Author Message

Member

Joined: 26 Feb 2006
Posts: 2

 0 salutes

 Posted: Sun Feb 26, 2006 12:22 pm    Post subject: EVALUATE ALSO Hi all, can anyone tell me wat does ALSO stands for in EVALUATE statement will it work like AND in IF ex: Evaluate A ALSO b WHEN 9 also 8 display 'hi' end-evaluate is this similar to IF A = 9 AND B = 8_________________Have a nice day
 <-- Click on right mark icon. If this post answer your question.

Member

Joined: 16 Feb 2006
Posts: 17

 0 salutes

Posted: Tue Feb 28, 2006 9:04 am    Post subject:

HI,

 Quote: Hi all, can anyone tell me wat does ALSO stands for in EVALUATE statement will it work like AND in IF ex: Evaluate A ALSO b WHEN 9 also 8 display 'hi' end-evaluate is this similar to IF A = 9 AND B = 8

Yes you are right, ALSO is similar to AND.

Hope this helps

Regards
Rupesh
_________________
------------------------
Thanks & Regards
Rupesh
-----------------------
Sun Shines Everywhere
 <-- Click on right mark icon. If this post answer your question.

Guest

 0 salutes

 Posted: Fri Mar 10, 2006 1:02 pm    Post subject: Hi yes you are correct...it works like AND operator
 <-- Click on right mark icon. If this post answer your question.

Guest

 0 salutes

 Posted: Sat Apr 22, 2006 3:21 pm    Post subject: ALSO HI, U ARE RIGHT,IT WORKS LIKE AND BUT THE DIFFERENCE IS IF THE FIRST CONDITION FAILS IT WON'T CHECK SECOND CONDITION So unnessary checking of second condition is avoided,,so it minimise the time of execution i.e. A = 7 B = 8 Evaluate A ALSO b WHEN 9 also 8 display 'hi' end-evaluate a value is not equal to 9 so it won't check b value
 <-- Click on right mark icon. If this post answer your question.

Active Member

Joined: 24 Feb 2006
Posts: 146

 0 salutes

 Posted: Mon Apr 24, 2006 10:32 am    Post subject: kvenkat_b4u, When you use an AND condition it is must that you are checking for all the conditions to be true. So, what is the special about here about this? ALSO and AND are meant to be the same. HTH._________________Arr Bee ------------- ?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
 <-- Click on right mark icon. If this post answer your question.

Member

Joined: 22 Apr 2006
Posts: 2
Location: chennai

 0 salutes

 Posted: Mon Apr 24, 2006 5:39 pm    Post subject: ALSO hi Arrbee, if Condition1 AND Condition2 then even if the condition1 fails, Still it is going and checking the condition2!!!!! if Condition ALSO Condition2 then IF The condition1 fasil it won't check the condition2, i.e it simply ignore the codtition2!!!..What a difference i think it's enough ,,,still u have a doubt continue the debate...._________________Love to learn ever.., By, venkat
 <-- Click on right mark icon. If this post answer your question.

Active Member

Joined: 24 Feb 2006
Posts: 146

 0 salutes

 Posted: Tue Apr 25, 2006 1:23 pm    Post subject: Ok. Any code examples do you have? How the output looked in the SYSOUT when you executed it?_________________Arr Bee ------------- ?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
 <-- Click on right mark icon. If this post answer your question.

Active Member

Joined: 24 Feb 2006
Posts: 146

 0 salutes

 Posted: Tue Apr 25, 2006 1:31 pm    Post subject: link. This link should help you........ http://www.damos.dircon.co.uk/html/cobol_evaluate_verb.html_________________Arr Bee ------------- ?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
 <-- Click on right mark icon. If this post answer your question.

Member

Joined: 05 Feb 2006
Posts: 7

 0 salutes

 Posted: Wed Aug 02, 2006 12:09 pm    Post subject: yes ur correct
 <-- Click on right mark icon. If this post answer your question.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT + 5 Hours Page 1 of 1

 Jump to: Select a forum This Website----------------Admin AnnouncementsModerators Only APPLICATION PROGRAMMING----------------COBOLJCLDFSORT , ICETOOL & UtilitiesCICSEASYTRIEVE DATA MANAGEMENT SYSTEMS----------------DB2 SQL - DB2 PROGRAMMINGVSAM - File systemIMS DBIDMS TOOLS----------------XPEDITERFILE-AIDCHANGE MANENDEVOR, COOLGEN , PANVALET and CA-7 OTHER LANGUAGES----------------TSO, CLIST & REXXPL/IASSEMBLERIMS/DC CAREERS / JOBS DISCUSSIONS / INTERVIEW QUESTIONS----------------JOB VACANCIESJOB DISCUSSIONABEND CODES / ERROR CODESDB2 INTERVIEW QUESTIONSCOBOL INTERVIEW QUESTIONSJCL INTERVIEW QUESTIONSVSAM INTERVIEW QUESTIONSCICS INTERVIEW QUESTIONSINTERVIEW QUESTIONS OTHER MAINFRAME SUBJECTS----------------XMLMQSERIES & WEBSPHEREOTHER SUBJECTS GENERAL FORUMS----------------EntertainmentGeneral DiscussionPersonality DevelopmentOff TopicsSuggestions & Feedback
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

  Topics   Replies   Author   Views   Last Post Related topics how to display panel through batch 1 Chanti 2562 Tue Aug 04, 2009 1:05 amMrSpock for debugging , i need to display variables in hexadecimal 6 danig 6585 Thu Apr 17, 2008 1:34 pmdanig use of display 3 neeraja 4323 Sat Feb 16, 2008 4:50 amDavidatK How to display in SYSOUT? 4 arrbee 6091 Fri Jun 15, 2007 12:59 pmarrbee How to Display COMP-3 value in report 1 Rithu 8525 Mon Feb 12, 2007 6:30 amdbzTHEdinosauer

 Cobol TutorialThis cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3..... DB2 TutorialDB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters CICS TutorialThis CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming... JCL TutorialThis is most popular JCL tutorial from mainframegurukul. It does contain important jcl .... SORT TutorialThis Tutorial covers all important aspects of DFSORT. Has more SORT examples INTERVIEW QuestionsThis page covers important interview questions Mainframe Jobs Mainframe Jobs posted by members of mainframegurukul forum FaceBook PageMainframeGurukul FaceBook Page LinkedIn PageMainframeGurkul Linkedin Page

 Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial Drona Educational Forums - Mainframe Cobol DB2 CICS Board Powered by phpBB
mainframetopic-39.html