Monday 18 February 2013

Evaluate statement



Evaluate statement

Introduction:
 
When we have to decide from a multiple choice then it is very difficult to use IF-ELSE logic as it will be complicated to write in a code.
So EVALUATE clause will be very useful when we have a multiple conditions which decides the flow of program.
Suppose we have a online screen which sets the Bonus-flag of an employee and if the FLAG is set to yes then it will add the bonus amount to employee salary else it will gives you some message.
As this is COBOL I will already set the value of BONUS-Flag to yes i.e. “Y” and will show you how salary gets added by bonus amount.
Below example shows you the use of EVALUATE clause with the analyzing a field   defined in W-S section.

Program:




Procedure division:



After compilation I will get MAXCC=00. See below load module,



Now I will run my job and will show you the output.

OUTPUT:



As bonus-flag set to yes the new salary is: salary+9000=39000
Now if I am submitting the job by setting a flag =N then output will be 30,000 only.

How to use EVALUATE TRUE statement?

Suppose in above example there are multiple flag like travelling flag, insurance flag, mediclaim flag and I have to check all the flag and if all the flags are “Yes” then I have to add respective amount for each flag.

Program:





Here I have to check 2 different conditions i.e. Bonus condition and Travel condition. So I have written 2 conditions under Bonus i.e.

88 BONUS-FLAG VALUE “Y”. And
88 BONUS-FLAGF VALUE “N”.
Similarly I have written 2 conditions under Travel i.e.
88 TRAVEL-FLAG VALUE “Y”. And
88 NO-TRAVELF VALUE “N”.
 

Now look at the procedure division.




Here I have coded my logic. I set the BONUS-FLAG and NO-TRAVELF to true. Then I have checked two different conditions. So after executing this program 5000 Rs. Got added into salary. 

OUTPUT:




In this way you can use EVALUATE statements in your program.

9 comments:

  1. thnx a lot Avinash...gud work and keep it up..:)

    ReplyDelete
  2. Nutra Mini - I haven't read that before. How many of you are dependent on that wonder? Most consumers that have talked to me before will know that I dislike it.

    In any respect, who knows? Guess what my sister mentions often referring to Control X Keto Weight Loss, "He who lives by the sword shall die by the sword." Make sure you go slowly next time. This keeps "slip-sliding away" on me. There are a trivial amount of feelings on this theme.

    Keto Go Fit
    Drone Xtreme
    Ultraboost Wifi
    Toxifort
    Control X Keto Reviews
    Control X Keto Diet
    Keto Go Fit Diet
    Keto Go Fit Reviews

    ReplyDelete
  3. Their color screens mean you can read much more than books: magazines and comic books are just two examples. Others include: , which has similar features; doc2pdf , arguably the best looking site that converts PDFs to Word and back; PDFPro's option to convert up to three PDF files to Word a month; and PDF Converter , which also converts PDF to Excel, PowerPoint, or an image, or vice versa. Amazon also has the ability to remotely delete books that have DRM. The compact size paired with the red cover does look cute, and I can't help but smile every time I hold the reader in my hands. Anyone in the marketing business understands the concept of sales funnels Sales funnels conceptualize the process of taking prospective customers from browsers to buyers. Applying the formatting styles below (headings, lists, tables, etc.) adds an invisible "tag" that identifies the different parts of your document. As it can intelligently rebuild Word documents from their temporary files. Keep in mind that this doesn't replace the old version of the document but creates a completely new copy of the document based on the newer Word software.

    But to start, I priced my book at $0.99. Follow the formatting guidelines below to improve the accessibility of Word documents. Over the years, we've spent months of quality time with Kindle e-readers, absorbed in good books for hours at a time. Note that we can also select a different file format when saving online, but this can affect some functionalities of Microsoft Word, so keep in mind to always use the default file format. Access, create, and edit your documents wherever you go — from your phone, tablet, or computer — even when there's no connection. Import Word style imports the content with the applied styles. In the video Ty is going to walk you through the other two steps of building a completely passive income using nothing but little word documents on Amazon. Kindle cash flow is a physical product that will be delivered to the student's door step. To request this document in an alternative format, such as large print or on coloured paper, please contact Viki Galt, the Disability Information Officer. Ty Cohen has made a passive income by publishing the e-books on the Amazon Kindle Store and He wants to share his experience and teaches the same strategy he used to build stream income with Amazon. https://www.reviewengin.com/kindle-cash-flow-review/

    ReplyDelete
  4. When in-house teams assume responsibility for everything from creative and budget allocation to monitoringperformance and making optimization adjustments, they gain real-time visibility into powerful customer insights that enables them to improve performance. Neil is a New York Times bestselling author and was recognized as a top 100 entrepreneur under the age of 30 by President Obama and a top 100 entrepreneur under the age of 35 by the United Nations. Freelance writing is also another effective way to make money online from home free. If you're serious about making money online, start a blog Blogging is one of the easiest and most sustainable income sources. Advertise Amazon products on your website or social media and earn up to 10% in referral fees on the sale of books, music, DVDs, toys, electronics, kitchen products, apparel, jewelry and more.

    From starting a blog to drop-shipping products online, finding great remote jobs and everything in between, it's a very attainable goal to create an online living for yourself this year. Learning from rivals' experiences will save time and allow you to create smart advertising campaigns from the beginning. The sums of money that you can earn can vary quite a bit and are reliant on the number of views you manage to achieve, but with a series of videos running, you could generate a regular income stream. The idea is that when your business is successful you will eventually hire people and pay taxes, thus the government reaps a return on the investment. After you've taken a dive into your campaign, the historical data collected will be key to pivot your strategy to reach your goals.

    Another source of income as well is written content, includes data entry, providing product reviews and carrying out web research. You can even hire a producer, so you don't have to shell out upfront cash, or you can hire a freelancer to do the job for you, anyways, you're using your already existing content to create something new that will make more money for you. One of the biggest mistakes marketers make with any marketing campaign is trying to manage to several goals at the same time. Well if you have ever referred any of your friend using your referral link on apps like Swiggy, Ola, Uber (where you get money if you refer people) then you have done affiliate marketing. You can also buy websites from the above platforms, work on the site to grow traffic & income and then sell it on a higher price.

    Whether it is freelance writing, creating advertising banners or short assignments, there is enough scope to get you started in no time. As you'll spend a lot of your time on the phone to media sales companies and clients, a key aspect of your training will involve gaining a deep knowledge of the business, along with negotiation and consultancy skills. Talk to the Queensland advertising agency bringing world class media strategy to clients across Australia. My first test proved positive, though initially I was disappointed that of my readership of 500 or so people (at the time), I could only sell one or two products, making $20 commission each. There are also free services like ClickBank that contain thousands of companies in need of affiliates to promote their products. https://www.reviewengin.com/how-media-buying-will-help-you-to-make-money-online/

    ReplyDelete
  5. It’s widespread data that authoritative links are important to high Google rankings. One simple thing you can do is use hubs that hyperlink to multiple competitors.

    This has the benefit of continuing the customer journey by way of your website to relevant merchandise, weblog posts and so forth. It will also inform Google (as well as different search engines) that your website has extra to offer on the particular topic. Sixth is using your keyword phrase in your description.

    Real Estate Seo For Beginners – Everything You Need To Start Today

    Hubs are already linking to comparable websites, so in all chance it won’t be an enormous leap for them to hyperlink to you as nicely. Keyword is as simple as what your clients kind in the search engine for the outcomes to be proven. The content material created as spoken in Hack three must contain these key phrases which individuals usually use to look. By using keywords, web site rating improves resulting in increased site visitors to the website.

    Seo Hack #1

    A hub is a web site that hyperlinks out to the major players inside a distinct segment. It could possibly be a commerce journal, a evaluate site, a blog or a discussion board. Identify such hubs with a software like Majestic‘s “Clique Hunter” or SEOprofiler.

    I recently began my blog and was struggling with web optimization and the way to enhance my ranking. Having to consider backlinks, guestposts when you're solely starting could be a bit daunting. But now, after this enlightening read, I know that there are simple and straightforward ways to assist me enhance my ranking and the quality of my content material, even for a new blog(ger). Been utilizing it with my group every day to instantly begin to enhance the web optimization on our online business! Especially appreciated the the advert keywords (we got here up with some great google ads from competitors) and creating your individual keyword techniques.

    But you additionally need to bear in mind not to overuse the key phrases in your content material or you may get penalized for keyword stuffing. It’s not sufficient to simply add key phrases in your meta tags for search engines to rank your web site. You additionally must cater to humans – the actual people who find themselves going to learn your meta descriptions and decide whether or not or to not click on in your hyperlink based mostly on its relevance.

    Google loves contemporary content material, and the fixed addition of new posts on your blog allows you to achieve rankings for brand new key phrases for which you didn’t rank before. Additionally, here are some helpful ways to make your weblog content material higher. There are many ways to do that, however the best one is simply having great content material or blogs on your website. Many of the best Realtors who weblog, simply get backlinks as a result of people discuss their posts.

    Make certain you are utilizing all the proper key phrases whereas writing the content and that it is written preserving in thoughts the audience. Focus on high quality than quantity and only produce high-quality, unique, and all forms of content material. Have you been running a blog for fairly some time already? If you could have been posting content material and blogging for months now, you have already got a solid supply of relevant content which you'll be able to recycle. Reuse your gold mine of contents to be able to improve site visitors and generate organic searches to your pages. https://www.reviewengin.com/5-simple-wordpress-seo-hacks-to-boost-your-google-ranking/

    ReplyDelete
  6. That's for real. This is a follow up on that issue. We'll adapt to Gadgets yet I had my Ecommerce overhauled. I have this strong feeling that I kind of banish that design. I can tell you that my original set of Gadgets notions are like this.



    PowerPro Energy Saver
    Mosquitron
    Buzz B Gone

    ReplyDelete
  7. My Life, My Job, My Career: How 7 Simple Business Helped Me Succeed - https://www.reviewengin.com/category/ecommerce/

    ReplyDelete
  8. This will allow you to secure and maintain placement in Google Maps to help extra people discover, contact, and visit your business. The web changes so fast that one year on-line equals about 5 years in the actual world. But the ideas of the way to begin and develop a profitable on-line business haven't changed at all. If you're simply beginning a small enterprise on-line, stick to this sequence. If you have been online awhile, do a quick review and see if there's a step you're neglecting, or never received around to doing within the first place.
    You can arrange a Facebook page or perhaps a podcast the place you can reach out to folks on the lookout for online coaching lessons. With a blog, you'll be able to sell all of these from one website and make the most money of any on-line enterprise idea on the market. Here is a list of the 107 greatest small business concepts to start in 2020.
    WordPress is the go-to platform for small companies and budding bloggers to begin an internet site of their own. If you might be nicely-versed in organising WordPress websites, use this ability to construct a enterprise. To hone your skills, you possibly can both take online wedding ceremony photography courses or be taught by studying this detailed guide. Here is the record of marriage ceremony images gear you have to start your wedding images business.
    This additionally means your audience has access to information whenever they want it. If they need questions answered or are in search of basic information, they can search online for the information and are available throughout your website. They have many alternatives to attach with your corporation and be taught extra. https://www.reviewengin.com/6-tips-on-strategic-instagram-marketing/

    ReplyDelete
  9. This type of business connects banks, brokers, and traders. The service is popular among busy people, who would need a trusted online exchange they could go to. After you’ve found the influencer, ask them to promote your services. Work with Facebook, Instagram, Twitter, Pinterest… Or all the popular platforms at once.
    With the right marketing and communication skills, you can start a profitable business. The demand for beauty products is relatively high compared to other products, and the chances of a successful online business in this niche are higher. You can add an inclusive range of diversified products to increase the customer’s interest. So, can we infer that a successful eCommerce business is worth boosting your income in this tough COVID-19 pandemic? Surely it can make a positive difference in your bank account.
    What we need more of in this world is people who offer their unique "art" to the world. I would recommend any entrepreneur to go with what they're passionate about. (Jason Ehmke, Senior Client Data Analyst, AddShoppers.com). Just focus on doing what you love better than someone else. You can’t do any of that if you just sit on your great idea, never sharing it with the world. But the power of advertising on Facebook doesn’t stop with demographic targeting.
    If you have a knack for UI/UX design, then you can build your website from scratch and save up on costs. Several ecommerce solutions like Shopify also have customizable templates that you can take advantage of. The alternative is to hire a freelancer from a top marketplace like Upwork and Codeable to design your online store. Companies have come to find that digital marketing is a necessity. Take WebFX — one of the top digital marketing platforms in the world.
    In the United States alone, digital fitness climbed to $3.46 billion in revenue in 2018. Shopify Plus reports that these figures will climb 4.3% annually to reach $4.1 billion by 2022. The health and wellness industry tripled in its size since 2015 and has a global economic growth (3.6%). Fitness and health have become a permanent way of life among millennials and younger generations. Check out how Warby Parker uses storytelling to share how they focus on their values when creating products.
    The landscape is changing rapidly as businesses move online. In fact, social distancing and COVID-19 accelerated the growth of online shopping by 4-6 years. Collecting information about the area you have chosen, as well as the competition that exists in it, is a good time investment. https://www.reviewengin.com/10-ecommerce-business-ideas-2022/

    ReplyDelete