COBOL Tutorial : Learn COBOL in One Video

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 961

  • @derekbanas
    @derekbanas  4 года назад +104

    TABLE OF CONTENTS
    2:07:38 : Install Windows
    2:12:13 : Install MacOS
    00:25 : Why is it Important
    01:35 : File Format
    02:26 : Main Divisions
    02:58 : Identification Division
    03:20 : Environment Division
    03:34 : Data Division
    04:22 : Variables / Picture / Data
    05:57 : Group Item / Hierarchal
    07:33 : Constants
    07:47 : Figurative Constants
    07:55 : Comment
    08:54 : Procedure Division
    09:00 : Print to Screen
    09:25 : Accept Input
    09:56 : Stop Run
    10:13 : Compile / Run
    10:50 : Assign Values
    11:20 : Math / Compute
    13:42 : Variables / Datatypes
    15:45 : Group Item
    20:17 : Figurative Constants
    21:34 : Math Functions
    23:46 : Compute
    25:14 : Data Classification
    25:45 : Thru / Ranges
    26:40 : Boolean
    27:20 : Multiple Values
    28:52 : If / Else
    30:30 : Logical / Conditional Operators
    33:19 : Classification
    34:10 : Built In Classification
    34:55 : Toggle Values
    36:20 : Evaluate
    39:27 : Paragraphs
    42:57 : Subroutines / Linkage
    44:25 : Call
    45:43 : While
    47:08 : For / Varying
    48:37 : Edited Pictures
    52:55 : Decimal Arithmetic
    55:39 : String Functions
    57:35 : Join Strings
    1:02:15 : Split String
    1:03:17 : Define Write to File
    1:07:54 : Open File
    1:09:01 : Write to File
    1:09:45 : Append to File
    1:11:40 : Read File
    1:13:45 : Create Reports
    1:16:25 : Filler
    1:28:44 : Indexed Files
    1:31:12 : Access Data Randomly
    1:35:03 : Save Record
    1:36:40 : Delete Record
    1:37:45 : Update Record
    1:40:30 : Get Record
    1:44:03 : Tables
    1:46:00 : Multidimensional Tables
    1:47:46 : Index Tables
    1:51:33 : Search Tables
    1:53:05 : Prefill Tables
    1:54:10 : Redefine
    1:56:34 : String to Float
    1:59:38 : Sort Records
    2:03:55 : Merge Files
    2:07:38 : Install Windows
    2:12:13 : Install MacOS

    • @admirableemanuelaquila1017
      @admirableemanuelaquila1017 4 года назад +14

      Derek Banas
      You are a genius.
      I became cobol programmer in 1978 then I worked with mainframes Ibm Wang Digital etc using unix sql etc. many years but since almost 20 years ago
      I am not in data procesing field.
      Now i want to do it again...
      Your video is the Best.
      I understood ease because you really know cobol and explain perfectly.
      I m 64 years old and ready to begin again.
      I hope to get a job soon. English is my second language.
      Thanks for your effort. Well done.
      God bless you.

    • @MBrieger
      @MBrieger 4 года назад +4

      I find it dangerous to suggest someone can learn a programming language in a very short time. That just brings us more of what we have: Unstable systems with crappy code.

    • @paulosullivan3472
      @paulosullivan3472 4 года назад +7

      @@MBrieger Everyone has to start somewhere, if you dont start by teaching them in a short time and work up to harder tasks which use that base knowledge then you cannot learn. Its just the basis of all learning.

    • @vikas274
      @vikas274 4 года назад +8

      Lot of my friends were trained in COBOL (Mainframe system)... we told them get out of it. Few still stuck with it. They are now working as an important and inseparable part of projects. Although their H1B was rejected due to current political situation in US...but they are so required in project...that they are now working from Canada. Companies can not let them go. Mainframe is powerful and those people are brilliant. I work on cloud applications and its deployments, but have full respect for those COBOL guys.

    • @henninghoefer
      @henninghoefer 4 года назад

      Re: 1:51:40 - I'm still watching, in awe that somebody does this to himself in 2020. This is worse than PHP!

  • @robertkopp873
    @robertkopp873 4 года назад +379

    Gosh. I have forgotten COBOL. First coded with this in the last century, using punched cards, before internet, before PCs. Now - I am 70+ years old. Dusting off the books...

    • @derekbanas
      @derekbanas  4 года назад +57

      I first saw it in college in the early 90s and was amazed by the punch cards. I used Fortran with punch cards as well.

    • @rhmagalhaes
      @rhmagalhaes 4 года назад +5

      @@derekbanas I learned Fortran at University. Natural/Adabas in my first Internship. Cobol/IMS/SAS in my first job. Crazy times...

    • @robertkopp873
      @robertkopp873 4 года назад +26

      DingoLava Take on a mental attitude that your career requires constant learning. Technology changes so, you must learn new, un-learn obsolete and re-learn the emerging. There is no end to this...

    • @almarn
      @almarn 4 года назад +9

      Yep..I did PL/1, system-programming in assembly and punched cards also. Big mainframes were 512 Kbytes..I am 73 now and teaching myself Clojure for a change on my 32 Gig laptop..Emacs is not so bad after all..gave up on neovim...

    • @blueballedtech
      @blueballedtech 4 года назад +8

      That's crazy. I couldn't imagine coding with punch cards. Everything now has been made very easy, relative to yesteryear that's for sure.
      I learned this when I had to take a class on assembly language, and suffered all the way through the course, even though I had been coding for years. But I learned a lot of interesting things from assembly: stacks, how the computer "thinks"(if that makes sense), and though I struggled(barely passed the course lol) I'm glad I took it.
      I'm curious about COBOL as well, so I'm watching this series here.

  • @bakr6405
    @bakr6405 4 года назад +132

    derek, I don't remember when I first encountered your python tutorials, but you made me love programming and choose to shift career completely. So thank you.

    • @derekbanas
      @derekbanas  4 года назад +52

      That is amazing! I don't know how to respond to you saying I impacted your life that way other then by saying thank you for taking the time to tell me. I appreciate it :)

    • @bakr6405
      @bakr6405 4 года назад +7

      @@derekbanas You definitely have and I am glad that I learned from you :) Thanks man.

    • @thelasttimeitookashowerwas7069
      @thelasttimeitookashowerwas7069 4 года назад +1

      @@derekbanas hey man i have a question, i am in third year in uni and all they say is master your competitive programming, and once you get seleceted by a company through competitive programmin and hr rounds, you dont need this shit, whys that so?

  • @vsuperbhat
    @vsuperbhat 4 года назад +193

    I never imagined I'll see a COBOL Tutorial in this channel one day 😄 Strange times.

    • @derekbanas
      @derekbanas  4 года назад +74

      The funny thing is that nobody requested it and yet it is the most popular video I have made in a year.

    • @blueballedtech
      @blueballedtech 4 года назад +6

      That's funny. I never thought I would hear "COBOL programmers needed."

    • @karthik_sivakumar
      @karthik_sivakumar 4 года назад +2

      @@stupidoptical but the problem is that no corporations using it want to do so,
      They are simply stuck... Guess who ends up paying the price? The Programmers who are working in a unwanted dying tech...

    • @Asian-daddy69
      @Asian-daddy69 4 года назад +3

      Tech Titan COBOL isn’t dead. Much needed! Dice.com

    •  3 года назад +3

      @@karthik_sivakumar if you learn cobol well, you are smart enough to be able to learn other languages as well :)
      also this is "dying" for like 30 or more years, yet it is nowhere near death

  • @cassandraedmond8442
    @cassandraedmond8442 4 года назад +26

    Hi Derek this was a great class. I'm old-school COBOL and needed a refresher course. This was exactly what I needed!!! Excellent stuff!

    • @derekbanas
      @derekbanas  4 года назад +4

      Hi Cassandra :) I'm very happy that you enjoyed it. I was surprised so many people enjoyed this video, but it makes me quite happy

  • @aavalos163
    @aavalos163 4 года назад +4

    I was an instructor for this school in El Salvador in 1992-1995 We were teaching COBOL/86 oriented to business. We were teaching students how to build data management systems to manage databases and how to build GUI. I now program in other langage, mainly in Python. Your video is excellent. I wish there was a job openning in my area for COBOL programmers or a work from home.

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you for the compliment :) I'm no expert with COBOL, but I did my best to make the language understandable. I'm happy to see that you thought it was good.

  • @trevorweir
    @trevorweir 4 года назад +14

    Derek, I have no idea how you learn all these languages so quickly, but Kudos, bro. You are a wizard of the highest order. Love your Python and HTML/CSS/Bootstrap stuff.

    • @derekbanas
      @derekbanas  4 года назад +11

      Thank you :) I promise if I can do it anyone can

  • @0UmAndUh0
    @0UmAndUh0 3 года назад +3

    I use to love COBOL. Everyone thought I was crazy. Think I'll watch this as a refresher.

  • @DeepakSharma_youtube
    @DeepakSharma_youtube 4 года назад +10

    I've worked with COBOL around 1988-1992 time frame, converting MF-COBOL and RM-COBOL to Pro*COBOL (Oracle). I have a requirement currently that's related to getting Mainframe COBOL data into Hadoop, and that's why I started exploring the language once again. Great coverage so far (25 mins into it)!

    • @sagejpc1175
      @sagejpc1175 Год назад

      Do you guys use z/OS and TSO?

  • @stasha27
    @stasha27 4 года назад +6

    Thank you for this video! I just started learning COBOL. I have been told by many people that this is a good thing to pick up.

  • @sagejpc1175
    @sagejpc1175 2 года назад +2

    I just got a job with a government office and have to learn cobol asap. Thank you so much for providing this tool to all of us!

  • @olgazimnyakova9638
    @olgazimnyakova9638 4 года назад +12

    Yes, please cover advanced SQL with advanced finance calculations, Pivot/Unpivot, Query Builder, In-line Views, and any advanced queries you wish to cover.

    • @juls_99_
      @juls_99_ 2 месяца назад

      Hi. There is any tutorial or site you suggest to learn SQL with COBOL? I've found this video and next month I'll follow a COBOL accademy to start working on baking softwares, but I want to be prepared before the accademy starts.

  • @bezimienny5
    @bezimienny5 2 года назад +10

    You singlehandedly pushed me through high school and college classes on languages I never cared about and now I just watch random videos from you for fun 🤣🤣🤣 Thank you!

    • @derekbanas
      @derekbanas  2 года назад +2

      I’m very happy to hear that I was able to help :) Thank you for taking the time to tell me

  • @phillipdunham695
    @phillipdunham695 3 года назад +3

    Thank you so much for making this. I am a new programmer and I am starting my first job in the field soon and they wanted me to learn COBOL on my own before starting. This has been very useful to me, and believe me, I'm watching this many times.

  • @cdnsilverdaddy
    @cdnsilverdaddy 4 года назад +4

    Brings back so many memories.. still love COBOL.. underrated

  • @diamondtimber809
    @diamondtimber809 2 года назад +1

    I LOVED coding Cobol! I'm here as a refresher...my hope is to one day soon contract with various companies still using it and be there to help them decipher/maintain their legacy systems. I miss it!

  • @EvilSandwich
    @EvilSandwich 4 года назад +20

    Old guard COBOL programmers always catch me off guard. I'm not used to the elderly not only being computer literate, running circles around me in terms of computer skill.
    I also ran into that when I started learning Assembly. The old timers from the days of Commodore, Apple and Acorn are very much still active in the 6502 community. And they are coding BEASTS, even in their 60s and 70s.

    • @derekbanas
      @derekbanas  4 года назад +3

      I agree. Especially at the low level older programmers are beasts

  • @msmart2u2
    @msmart2u2 4 года назад +2

    Took a COBOL course in the late 70's but went on to program in Fortran, C, etc. I'm now in my 70's and leaning Solidity. But if somebody will pay me to do COBOL, I'll do that.

  • @pylewastaken
    @pylewastaken 4 года назад +54

    Derek: breathes
    New Jersey: *WRITE THAT DOWN WRITE THAT DOWN*

  • @anacondatreasure
    @anacondatreasure Год назад +2

    Awesome refresher. Thanks for providing it. Tried installing the windows version following the steps at the end of this video, but am coming up with "-bash: cobc: command not found" when I try to compile the test program. Not sure if there is a simple solution or not... (maybe moving the GNUcobol compiler executable from the current location -- C:\cygwin64\tmp\gnucobol-3.1.2_win\bin -- to somewhere else?) Thanks.

  • @ethercreatures
    @ethercreatures 2 года назад +3

    Outstanding work with this tutorial. Got more out of this than I did in hours of watching others. PERL, python, shell, PHP, PowerShell have been my bread and butter, but hoping for a good outcome in an Analyst I interview next week where cobol, jcl, DB2, and CICS among other related topics are on the table. Never touched cobol, but I am confident enough to demonstrate I can swim in this environment now. Thank you Derek!

  • @Valhallaeiru
    @Valhallaeiru 11 месяцев назад +1

    But would you recomend a young programmer to learn COBOL in today economy?
    I've been wanting to learn it from ages, but my senior keep telling me it's a waste to learn.
    What's your opinion on the matter?
    Excellent tutoria, btw! It's so easy to follow!

  • @thaqalain10
    @thaqalain10 4 года назад +20

    I just clicked to hear Derek's voice lol haven't seen your vids in my sub feed for a while - always good to see a vid from you! Hope you're keeping well :)

    • @derekbanas
      @derekbanas  4 года назад +6

      Thank you very much :) I'm still making videos, but I think because I never asked people to click the bell and such that RUclips isn't pushing my videos any more. Either way I'm happy you found your way back

  • @lukkash
    @lukkash 4 года назад +1

    You are completely right and it has a reflection in job offers. There are still needed Cobol programmers and coz they are not available due to other modern languages popularity, they can have unique skills and thrive one day.

    • @derekbanas
      @derekbanas  4 года назад +1

      As of now it is the most in demand programming language. I'm guessing a solid COBOL programmer will be in demand for some time.

  • @curiousmind4870
    @curiousmind4870 3 года назад +3

    Thank you Derek. This has been very helpful to complement the "Master the Mainframe" course I'm taking. Very clear and detailed. Your are great!

  • @hazimdds
    @hazimdds 4 года назад

    25 years ago i was a 10y old kid i have tow books( COBOL and BASIC ), i remember this weird syntax, i learn and master the languages back then.
    what a welcoming tutorial.

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you :) Happy it brought back good memories

    • @nuligebla1173
      @nuligebla1173 4 года назад

      Try Freebasic. It compiles to C using GCC. freebasic.net

  • @nickbisignano
    @nickbisignano 4 года назад +9

    I was looking for this tutorial the other day after reading about the all the old financial systems written in cobol. Now it's here! Another great job making a complicated topic seem simple.

    • @derekbanas
      @derekbanas  4 года назад +2

      Thank you for the nice compliment :) It isn't often that a programming language makes the news and I'm happy that I could clear up the topic.

  • @TadeuCostadeOliveira
    @TadeuCostadeOliveira 4 года назад

    I'm a developer and I work with Cobol since 2016 when I began to work for the first day since my graduation! Nice to see a cobol tutorial here!

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you for taking the time to tell me :) While I'm sure it isn't perfect I did my best to make the language understandable to people who are used to C based languages.

  • @techtalktoe9758
    @techtalktoe9758 4 года назад +24

    I'm surprised to know that COBOL is in demand now. Thank you Derek ;)

    • @derekbanas
      @derekbanas  4 года назад +13

      Happy to help :) Now we know what language rules the world

    • @rongarza9488
      @rongarza9488 4 года назад +2

      @techtalktoe COBOL is not in demand now. The ads are there to out you and blackball you from any and all programming jobs. Even a lady programmer from India got wise and dropped it from her resume. That should tell you something.

    • @Jellyfish60
      @Jellyfish60 4 года назад +3

      @@rongarza9488 what do you mean "The ads are there to out you and blackball you from any and all programming jobs"??

    • @solotron7390
      @solotron7390 4 года назад +3

      If COBOL is in demand, it's because some bank or backward company is clinging for dear life to their legacy system.

  • @MarkMcAllister-o3l
    @MarkMcAllister-o3l 8 месяцев назад

    Just attempting to get back into programming myself. So far, it's bringing back quite a few memories from way back when.
    I also used those dreaded punch-cards in college. Nice class Derek. Appreciate the detailed instructions. I'm hoping, once I get this under my feet, I can explore job opportunities and work from home. Any suggestions are welcome.

  • @samueln300
    @samueln300 4 года назад +26

    You're the real MVP!

    • @derekbanas
      @derekbanas  4 года назад +10

      You're very kind :) I try to do my best

  • @zarikdaniel6697
    @zarikdaniel6697 4 года назад +1

    Dude aren't you going to celebrate passing 1 000 000 sub.I had 24 after almost 7 years.
    Thank you so much for your amazing platform. My dream is to see more platforms like you and maybe AI base for the greatest possible approach toward human stable and optimized platform atleast in education towards getting hired point.

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you for the nice compliment :) To be 100% honest the comments I receive from people saying that I helped them turn around their lives and get a new career mean way more to me then getting 1M subs. I mean I'm amazed that I got here, but knowing that I actually helped real people all around the world means so much to me. The whole decade long experience has been so gratifying. Thank you for being there. I'm working on AI tutorials right at this very minute. I'm going to cover the Math of Machine Learning and keep going through Data Analytics and ML.

  • @dullbananas9901
    @dullbananas9901 4 года назад +373

    this guy has been in quarrantine

    • @derekbanas
      @derekbanas  4 года назад +157

      I'm basically always in quarentine :)

    • @panhuragan4388
      @panhuragan4388 4 года назад +14

      Derek Banas query antine

    • @arwahsapi
      @arwahsapi 4 года назад +6

      Quarantine Tarantino

    • @nunezdavidj
      @nunezdavidj 4 года назад +8

      Derek Banas was in quarantine before it was a thing...freely sharing his vast knowledge, I might add. Thanks, Derek!

    • @kymberlyhounsell6872
      @kymberlyhounsell6872 4 года назад

      What's the problem with his tutorial?

  • @GarryGri
    @GarryGri 2 года назад +1

    I did COBOL back in college in the nineties. Now I have to learn it in order to maintain an application where the current support contractor is retiring!
    COBOL is not dead!🙃

  • @soulextracter
    @soulextracter 4 года назад +51

    Next video: Switch board Tutorial: Learn to write a program by flipping switches, and saving them on paper tape.

    • @derekbanas
      @derekbanas  4 года назад +29

      I was going to make a tutorial on creating a computer using transistors but nobody seemed interested.

    • @wimeatsworld
      @wimeatsworld 4 года назад +9

      @@derekbanas I've got a spare bedroom, so I'd be interested in a mainframe based on light bulbs.

    • @robertdl9046
      @robertdl9046 4 года назад +2

      @@derekbanasHow bout with vacuum tubes? To make a Zuse-3.

    • @rogerparrett3242
      @rogerparrett3242 4 года назад +2

      Program by flipping switches? Like I did with my ALTAIR 8800 back in 1976? Intel 8080, 8K of RAM (which was a LOT...lol), and the only output was dumping the accumulator to 8 LEDs. Fun times, seriously.. :)

    • @soulextracter
      @soulextracter 4 года назад +1

      @@derekbanas Well if anyone is interested, Ben Eater here on RUclips has some cool videos on breadboard computers and rudimentary graphics cards.

  • @shouibmohammed5579
    @shouibmohammed5579 4 года назад

    Big thank you Sir. I am COBOL programmer for 7 yrs. This video will help me refresh my skills.

    • @derekbanas
      @derekbanas  4 года назад

      Thank you :) I'm very happy to hear that it is helping people.

  • @peraciodias9665
    @peraciodias9665 4 года назад +119

    You can find cobol programmers in nursing homes in the squares playing poker!

    • @robertkopp873
      @robertkopp873 4 года назад +23

      Peracio Dias Most, but not all. I am still in the work-force cranking out 50 & 60 hour weeks. Turn 74 in June, but now I often ask myself, “why?”

    • @peraciodias9665
      @peraciodias9665 4 года назад +4

      @@robertkopp873maybe you became a workaholic.

    • @mig7287
      @mig7287 4 года назад

      😁😁😁

    • @fernandohood5542
      @fernandohood5542 4 года назад

      Rubbish. I have done 4 years of it.

    • @ryanmedina5090
      @ryanmedina5090 4 года назад +14

      I am 45 years old. I have been programming in Cobol for 20+ years. I am nowhere near the retirement home.

  • @Techtter
    @Techtter 4 года назад

    You are great Derek. I follow your channel since 2013. You are doing great job to share your knowledge without any cost...love you.... Go ahead...

    • @derekbanas
      @derekbanas  4 года назад

      Thank you for staying here for so long :) I appreciate it

  • @Keenleo
    @Keenleo 4 года назад +3

    Great COBOL tutorial Derek, please keep it up and maybe make a video for database manipulation and complex queries using COBOL it's something I really need to see. thanks

    • @derekbanas
      @derekbanas  4 года назад +2

      Thank you very much :) I'll see what I can do

    • @Keenleo
      @Keenleo 4 года назад

      @@derekbanas ​ thanks :) let me know if you ever have time to work on it and I will share with you a great educational material that might help you with DB queries.

  • @tukan2712
    @tukan2712 4 года назад +2

    Thank you Derek! I still working with cobol daily and your tutorial is so good for new member on my team.

    • @derekbanas
      @derekbanas  4 года назад +2

      Thank you for the nice compliment! My goal was to have daily COBOL developers to say it is a good starting point. It won't turn someone into a COBOL master, but I hoped it would stand as a good first step.

  • @devanom
    @devanom 4 года назад +4

    Good one Derek..I would wanna see you do COBOL with SQL..Keep going..Tq

    • @derekbanas
      @derekbanas  4 года назад +4

      Thank you :) I'll see what I can do

  • @zackinator1439
    @zackinator1439 3 года назад +1

    Derek coming in clutch again. This vid is a great supplement to the college class I took on COBOL.

    • @derekbanas
      @derekbanas  3 года назад

      Thank you :) I'm happy I could be of service

  • @chronodecker6920
    @chronodecker6920 4 года назад +3

    Sure, "I watched Derek on youtube" will make a great impression on my resumee when I'll try to work for a multi-national bank brewing billions.
    But that's a great tutorial, thanks!

    • @derekbanas
      @derekbanas  4 года назад +3

      Thank you :) I worked for one of those companies. A lot of crazy stories came from that job.

  • @konstantinrebrov675
    @konstantinrebrov675 4 года назад +3

    Derek Banas will make COBOL great again!

  • @AxelWerner
    @AxelWerner 3 года назад

    THANK YOU for doing a proper screen presentation that makes use of all the screen area and provides a nice font size, so we can watch it from a distance too. lots n lots of people just wont get these basics right.

    • @derekbanas
      @derekbanas  3 года назад

      Thanks :) I have had a lot of practice

  • @RagHelen
    @RagHelen 4 года назад +8

    We have entered an era, where financial programming is best represented by Javascript.

    • @derekbanas
      @derekbanas  4 года назад +4

      That’s funny

    • @Wourghk
      @Wourghk 4 года назад +4

      We have also entered an era when people don't use proper grammar. Sometimes the world takes a wrong turn.

    • @RagHelen
      @RagHelen 4 года назад +5

      @@Wourghk ?

    • @navjotsingh2251
      @navjotsingh2251 2 года назад

      @@MapleBR yeah, getting the jvm to produce the same speed and optimisation as native code is a hassle. Maybe it could be done, but more research and testing needs to be done.

  • @dustsucker4704
    @dustsucker4704 2 года назад

    I love how you can define a social security number its way easier than in any other language i know its amazing. Just tape 3 numbers together in wich language is it that easy to seperate a long string or number just with the definition of the struct amazing

  • @windows8290
    @windows8290 4 года назад +8

    Show this tutorial to US Government they will become happy :)

    • @derekbanas
      @derekbanas  4 года назад +4

      I do all I can to keep the US government happy with me :)

  • @techsimplified7173
    @techsimplified7173 7 месяцев назад

    At 01:57:00 around you asked for a feedback, so I'm writing, your tutorial is very nice, thank you Derek

  • @m3gust4qu3so
    @m3gust4qu3so 4 года назад +3

    I'm going to learn this language and hopefully get out of my hellhole of a customer service job.

    • @karthik_sivakumar
      @karthik_sivakumar 4 года назад

      Please learn something other than cobol, while jobs will still be there, you will not get paid as much as ppl working on full stack or even basic c++ jobs

  • @theears995
    @theears995 3 месяца назад

    Do you think you could do a longer video on reports in COBOL? I think it’s honestly one of the coolest features of COBOL (maybe I’m just a nerd) and I’d love to learn more!

  • @erikpavlusik6214
    @erikpavlusik6214 4 года назад +2

    You are king with cosmic superpowers

    • @derekbanas
      @derekbanas  4 года назад +2

      That's funny :) You are too kind

  • @autmarthegrand8224
    @autmarthegrand8224 2 месяца назад

    I am here Derek, you're not alone. Thank you for the tutorial!

    • @Vaslovag
      @Vaslovag 2 месяца назад

      I'm here too. Are we both waiting for the database video?

  • @kristerl939
    @kristerl939 4 года назад +6

    Thanks, this was fun. I definitely would like to see SQL with Cobol. I have already bought your course on Python.

    • @derekbanas
      @derekbanas  4 года назад +5

      Thank you for supporting my course!!! I'm working on the math of machine learning now and I'll start uploading those very soon.

  • @NojanajPongsupaht
    @NojanajPongsupaht 2 года назад +1

    This is the most effective COBOL tutorial I have seen. Thank you!

  • @GNXClone
    @GNXClone 4 года назад +5

    I haven’t touched COBOL since the early 80’s.

    • @derekbanas
      @derekbanas  4 года назад +2

      Most people haven't and most people never will

  • @stephanerichard3979
    @stephanerichard3979 Год назад

    i really love the way you just go out and say the things you think we need to know. main reason I found we do need to know it. lol. great work here in cobol. along your 50 atleast other videos, they all rock. always looking forward to what you'll come up with.

    • @derekbanas
      @derekbanas  Год назад

      Thank you for taking the time to write such a nice message :) I appreciate it

  • @sebsafari
    @sebsafari 4 года назад +3

    Derek you should do a python curses tutorial, there's very little on youtube!

    • @derekbanas
      @derekbanas  4 года назад +3

      I'll see what I can do. I do love Python

    • @philtoa334
      @philtoa334 4 года назад +1

      lol

  • @LaurentLaborde
    @LaurentLaborde 3 года назад

    after 43mn into the video I wrote my first working fractal generator (it output a .ppm image). best tutorial

  • @UsaM
    @UsaM 4 года назад +39

    wait sir, I'm still learning Java.

    • @lavalove01
      @lavalove01 4 года назад +5

      Lol! that's very funny

    • @derekbanas
      @derekbanas  4 года назад +13

      There is always a new, or in this case an old programming language to learn

    • @rostislavsvoboda7013
      @rostislavsvoboda7013 4 года назад +1

      The race is long and you may make it. But won't bet too much on you. en.wikipedia.org/wiki/Red_Queen_hypothesis

    • @robertdl9046
      @robertdl9046 4 года назад +3

      If a business language is good enough for an organization over 10 trillion in debt, it's good enough for me.

    • @VC-kj9yx
      @VC-kj9yx 4 года назад

      @@derekbanas I am a VBA programmer

  • @goddessnoele
    @goddessnoele 4 года назад +1

    Thank you so much for this video! I heard on NPR several states were desperate for COBOL programmers to assist with the unemployment system upgrade and maintenance. COBOL is very much in demand. Since I am laid off I thought this would be a great opportunity to learn this niche skill.👍

    • @derekbanas
      @derekbanas  4 года назад +1

      I'm happy I could help :)

  • @sludgeman
    @sludgeman 4 года назад +4

    There’s enough Cobol programmers, they just don’t want to pay for the legacy plus, neither want to pay for the upgrade

    • @derekbanas
      @derekbanas  4 года назад +10

      The government doesn't want to pay to upgrade vital infrastructure! I'm some how not shocked.

    • @adespade119
      @adespade119 4 года назад

      @@derekbanas Maybe they don't want people to see how money is actually created

  • @frodestrand5898
    @frodestrand5898 6 месяцев назад

    Starting to learn Cobol. Thank you for this amazing tutorial.

  • @TheAcidFruitmanArt1
    @TheAcidFruitmanArt1 4 года назад +2

    I was about to request this video. I can actually imagine COBOL being pretty darn good for what was supposed to do, at least when compared to other languages of its time (I wouldn't imagine anyone trying to write financial reports on FORTRAN). Even now I think it's one of the simplest languages I've ever used, at least when you get used to its quirks.
    I do think it's too much typing (in my opinion, the whole "english-like" nature of the language has become one of its drawbacks) and I wouldn't even think about using it for any personal project. But I wouldn't mind maintaining code or even writing specific COBOL programs if I got paid for it. Then again, I don't know if any Venezuelan companies use this stuff anymore (I've heard IBM is/was pretty big over here, but not much else).
    Anyway, excellent video!

    • @derekbanas
      @derekbanas  4 года назад +1

      Thank you very much :) Yes I think most people aren't aware that it wasn't all that many years ago that the option was either Fortran or COBOL. When I went to college those were the only 2 options.

  • @vocalyn
    @vocalyn 2 года назад

    thank you very much for this! I've been struggling doing my program but then i saw your tutorial, i already did the program.

  • @almaring2839
    @almaring2839 4 года назад +11

    1:51:35 Still watching ;)

  • @edgeeffect
    @edgeeffect 4 года назад +2

    I'm a COBOL programmer... I've spent most of my career doing Pascal, C++, PHP and JavaScript.

  • @GertCuykens
    @GertCuykens 4 года назад +4

    "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence." (1968) -- Dijkstra :P

    • @derekbanas
      @derekbanas  4 года назад +4

      That's funny :) COBOL is like the Incredible Hulk. The more you try to kill it the stronger it gets.

    • @GertCuykens
      @GertCuykens 4 года назад +1

      Because C++ Iron man is full of shit sometimes, and the Java spider man just makes a mess, while nobody wants to listen to functional Dr Manhattan XD

    • @CripplingDuality
      @CripplingDuality 4 года назад

      @@GertCuykens cobol isn't functional, though.

    • @GertCuykens
      @GertCuykens 4 года назад

      @@CripplingDuality true I meant like Haskell and the other functional languages, only few want to look into it or learn from it. Pretty sure if you compare views between Derek functional language video's they have significant less views than the others.

  • @nerowolf6623
    @nerowolf6623 2 года назад

    Worked with cobol programming in 80', fun time for me.

  • @johnjackson9767
    @johnjackson9767 4 года назад +7

    "Tell me this isn't a government operation".

    • @derekbanas
      @derekbanas  4 года назад +5

      The government is definitely not paying me. Actually I probably will never even get my $1200 check nor any unemployment for the rest of my life.

    • @johnjackson9767
      @johnjackson9767 4 года назад +3

      @@derekbanas You misunderstood me, sorry. That wasn't directed towards you, but the government who is terribly outdated and still relying on COBOL. It reminded me of Apollo 13 and Gene Kranz.

  • @Klayperson
    @Klayperson 3 года назад

    i was hearing the demand for COBOL and the potential payout so i was thinking about picking up COBOL and so i watched the whole video (at 2x speed)
    thank you for changing my mind :^)

    • @derekbanas
      @derekbanas  3 года назад

      Those days are past from what I've heard. Learn Python instead

  • @gsr4535
    @gsr4535 4 года назад +6

    You can learn a language, a tool, a technology but without actual paid employment (with references) utilizing that skill, you will not get a job.

    • @derekbanas
      @derekbanas  4 года назад +5

      Unless you win a coding competition. That is how I got hired at Apple at 21. Actually winning competitions is probably harder though.

    • @gsr4535
      @gsr4535 4 года назад +4

      ​@@derekbanas Well I've been in this field since the early 1990's. I'm approaching retirement now and don't have the same level of interest and enthusiasm I once had. Plus, the field is now saturated with an over-abundance of "available labor", i.e. the corrupt, cheap labor H-1b visa racket.
      Anyway, you don't wanna hear my true thoughts on the field, globalization, politics, etc. Haha.... I do enjoy your channel thought. Take care.

    • @johnjackson9767
      @johnjackson9767 4 года назад +2

      @@gsr4535 No, but I'm certainly interested! Haha.

    • @spacemeter3001
      @spacemeter3001 4 года назад +3

      @@gsr4535 Leftists import people on masse and wonder why salaries decrease. These people are dumb af

  • @TheEpicist
    @TheEpicist 4 года назад +1

    Thanks Derek...You are a savior.

    • @derekbanas
      @derekbanas  4 года назад +1

      I'm very happy to be of service :)

  • @educodewithsk3159
    @educodewithsk3159 4 года назад +3

    Derek Banas is a great instructor of all time! Love watching his videos and I have been inspired by him. I also started making coding videos recently. I need support and that you all can do just hitting my subscribe button. Highly obliged if you gave your price time to do that and promise to make interesting as well as informational videos in the future. Thanks!

    • @kaunjeetega5323
      @kaunjeetega5323 4 года назад +1

      Good Job!

    • @educodewithsk3159
      @educodewithsk3159 4 года назад

      @@kaunjeetega5323 thanks for the support!

    • @derekbanas
      @derekbanas  4 года назад +2

      Thank you for the compliment :) I wish you all the best with your channel

    • @educodewithsk3159
      @educodewithsk3159 4 года назад

      @@derekbanas Thank you sir! Great fan of yours. Highly obliged to you sir. Thank you once again for supporting me and helped me to grow with the codes.

  • @dponzi56
    @dponzi56 2 года назад

    I was a cobol programmer for 40 years. I just retired about 6 weeks ago. I was looking for a PC based COBOL to play on. I will give this a try.

    • @MrMysterious31
      @MrMysterious31 Год назад

      That's great to hear sir, BTW could you please share your experience in short? I'm interested in learning this gem but I don't know where to start, need a roadmap from you..

  • @shupesmerga4694
    @shupesmerga4694 4 года назад +9

    They need cobol progs because they refused to upgrade, when the cobol shortage is done, other cobol progs will be fired and only maintainers will be employed

    • @rhmagalhaes
      @rhmagalhaes 4 года назад

      NOPE... All current programmers will finally be retired and the new ones will take over and figure how to upgrade the systems to C because COBOL and C begin with C and they can sell it as a better version of Cobol... "Look C is the short of COBOL, the same first letter !!!" The politicians will go: "Ohh yeah !! Here... 5 billion dollars to you. Change it all"

    • @shupesmerga4694
      @shupesmerga4694 4 года назад

      @@rhmagalhaes and given that politicians fall for it, they'd soon say "LOOK! We have C++, it'S a better version of C because it has 2 plusses, unlike other phones which only have 1 plus" lol

    • @takethepurplepills
      @takethepurplepills 4 года назад

      I heard this same argument thirty years ago! I thought it was right then. How wrong I was it seems. Wonder if it will happen to you??? Only time will tell, you just don't know....

    • @majkus
      @majkus 4 года назад +4

      One man's "refuse to upgrade" is another man's "if it ain't broke, don't fix it."

    • @sjzara
      @sjzara 4 года назад +2

      Bruges Manioracci no competent manager would ever suggest converting COBOL to C. C is a very unforgiving language and entirely inappropriate for business logic: it has no built-in financial types, for example. The usual COBOL migration language is Java, as it’s safe, and has classed such as BigDecimal as standard. However, there are plenty of modern COBOL implementations. The wisest approach is to stick to COBOL.

  • @Willibef
    @Willibef 4 года назад +1

    You put a lot of time and effort in the production of this tutorial, and that's great. Despite that I don't think the huge amount of information does make sense for people without any (prior) knowledge of programming.

    • @derekbanas
      @derekbanas  4 года назад +4

      Sorry about that. I tend to make tutorials for people who know 1 language already. It takes to long to make every tutorial aimed at a complete beginner.

  • @astavie2920
    @astavie2920 4 года назад +11

    I cringed when I saw your definitions of "prime numbers"

  • @MADPURO
    @MADPURO 4 года назад

    A few months ago, i saw a job posting talking about cobol and wondered what it was. Turns out that the syntax looks really interesting and readable. Although it was just one post in the entire city, it was quickly picked up and never seen another for this language. Thanks derek for this video. I can someday touch up on it and see what its all about.

    • @derekbanas
      @derekbanas  4 года назад

      I enjoyed relearning and teaching it again. Many years ago I programmed in it every day.

  • @elkhoukhi
    @elkhoukhi 4 года назад +3

    A lot of code was written in Cobol, somebody's got manage that code

    • @derekbanas
      @derekbanas  4 года назад +3

      Most of my programming jobs involve updating old code.

    • @rostislavsvoboda7013
      @rostislavsvoboda7013 4 года назад

      Measuring software by lines of code is like measuring aircraft by weight. A lot.

  • @traficdas
    @traficdas 3 года назад

    Mr. Kopp is not the only one with dusty books on COBOL and Assembly. Haven't coded in either since 1976 on an old punch card loaded VAX main frame. Yea to A COBOL & SQL VIDEO, Great Grandpa needs a job again. Thanks for all your work Derek, Great Job!

    • @derekbanas
      @derekbanas  3 года назад

      Thank you very much sir :)

  • @darkchocolate3390
    @darkchocolate3390 4 года назад +4

    Wow. Didn't realize how much COBOL is used. Thought they would have changed to another programming language

    • @derekbanas
      @derekbanas  4 года назад +6

      That's the thing. COBOL is very hard to translate. Companies have thrown billions of dollars at trying to change to a new language and most of those projects fail. Imagine billions of lines of code written to perform very specific tasks incoordination with millions of other programs spread across the planet. It is nearly impossible to change without causing catastrophic chaos.

    • @derekbanas
      @derekbanas  4 года назад +1

      I agree. I learned it years ago and then recently I just kept saying why don't other languages do this or that. A lot of old languages died for good reason. COBOL however is rather amazing.

    • @ryanmedina5090
      @ryanmedina5090 4 года назад +1

      I work for a Fortune 100 company. Cobol is very ingrained into the company. My system does checks and bank reconcilliation. They decided they were going to create a new payment system to replace my cobol system. They couldn't do it in the time they had. It will take then 10 years to they can create something that will replace what my system does reliably and effciently. Also I have been asked to create cobol programs to transform data between fancier systems written in other newer languages cause they couldnt do it effectively or efficiently. Nothing quite like cobol when you just need to process through millions of records of data.

    • @rostislavsvoboda7013
      @rostislavsvoboda7013 4 года назад

      @@derekbanas Former COBOL guy here: The reason is the big corporations using COBOL. The big players like finance and aviation industry are rich enough to "pay for COBOL". However this changing little by little. Nobody's flying at the moment, the world economy does down and we've got things like drones and blockchain. By teaching COBOL you're advising people how to shoot themselves in the leg, carrier-wise. But I'm OK with that. We need to leave somebody behind for the lions.

  • @valeriapimentel4384
    @valeriapimentel4384 Год назад

    You are the best. I watched the whole thing and it was great review. Thank you so much

  • @userou-ig1ze
    @userou-ig1ze 4 года назад +6

    after 7:21 i agree, this seems like a idiotic language to learn. I bid you farewell with a thank you for the intro

  • @kennethkustren9381
    @kennethkustren9381 4 года назад

    You've made me a believer !!
    GOD BLESSES YOUR MEEKNESS !!

    • @derekbanas
      @derekbanas  4 года назад

      You're very kind :) Thank you

  • @tanzimibthesam5861
    @tanzimibthesam5861 4 года назад +4

    Is there any language this guy doesnt know?

    • @derekbanas
      @derekbanas  4 года назад +3

      I'm not special. Once you learn a few you can learn any other language easy.

  • @ColdFuse96
    @ColdFuse96 3 года назад +1

    To those who need this: This video is better than the courses they have on Coursera and Linkedin Learning.
    They don't actually teach you how to write programs from scratch on Linkedin Learning because they take an approach where they assume people in the workforce aren't going to create anything new and strictly only revise pre-existing programs. This approach might have some truth behind it, but I think it's very important to learn the structure of a program from the ground up as if you were going to make the programs yourself instead of relying solely on someone else's work and revising it from there.
    The teachers on Coursera are just crap for the money they charge. The course actually is taught by an actual IBM Cloud Systems Architect, but he drags out the lessons a bit too much. You learn what he teaches in an hour on this video in 10 minutes. Save your money and just follow this video.

    • @derekbanas
      @derekbanas  3 года назад +1

      Thank you for the very nice compliment :) I’m constantly attacked by powerful universities and it is nice to get compared to Coursera with their millions of dollars.

    • @AquibA
      @AquibA 3 года назад

      @@derekbanas E'rybody deserves their dollars when there's genuine education happening.

    • @justwanderin847
      @justwanderin847 Год назад

      New COBOL programs are written everyday. For Big Corporations and small.

  • @johnpekkala6941
    @johnpekkala6941 4 года назад

    Ive also tried to learn COBOL, mostly for historical purpose and curiosity how these mainframe computers were operated back in the days of Univacs and IBM 1401s. Time to pick it up again and continue!

    • @derekbanas
      @derekbanas  4 года назад

      I hope you find the video useful :)

  • @tinotesu
    @tinotesu 4 года назад +2

    Thank you for this video. I am not done with the whole video yet but I am already learning a lot. I need to understand a program written in 1974 and rewrite it in modern language. My question is at around 0:42:45 when you wrote PERFORM SubFour 2 times, I thought "Repeat" would show up twice? Am I missing something? Also, when do you end a line with period? Sometimes you had it (line26) and sometimes you don't (line 24) in this particular example. Thanks.

    • @3snoW_
      @3snoW_ 3 года назад +2

      It's because of the "STOP RUN." statement at the end of the file. Cobol thinks that it's part of the SubFour section. That's also why in 42:19 it never returned to paragraph 1 or displayed "Repeat": SubTwo ended with "STOP RUN." so the program exited.

  • @3snoW_
    @3snoW_ 3 года назад +1

    On 42:19 the "STOP RUN." statement at the end of the file is exiting the program preemptively. Cobol interprets that line as being part of SubTwo so it never returns to paragraph 1. Similarly on 42:55 the same statement is now part of SubFour so it doesn't get to repeat it since the program exits.
    From what I researched, a paragraph only ends at the start of another paragraph, or at the end of the file. So a simple solution would be to just delete the final "STOP RUN." statement. Another would be to encapsulate it in a new paragraph, e.g.:
    SubEnd.
    STOP RUN.

    • @Vrexu
      @Vrexu 8 месяцев назад +1

      I would kindly like to thank you. I could notice the unexpected behaviour as well, but couldn't understand the issue. You didn't just point that out, but also provided the solution. This further improved my understanding of this great tutorial.

  • @computerpro123abc
    @computerpro123abc 2 года назад +1

    When I taught cobol back in the 1980 and 1990's students would ask me how many
    programs do I need to write to be good enought to hold down a porogrammer job?
    The answer today is the same 100, if you can complete 100 program assignments
    (from books or a teacher) you can hold down a programmer job. PRACTICE PRACTICE

  • @DrRandyB
    @DrRandyB 2 года назад

    I've been around COBOL since 1990 and I thought that it would be as simple as every other language that I have learned, but when faced with the aspect of someone else who wrote the hundreds of thousands lines of code and uses variables that only make sense to my now deceased ( genius partner) I'm left with a puzzle that I can only understand about 2/3rd's of what he wrote besides what we wrote together. I was 24 years old at that time and now I have the unhealthy attributes of keeping his program and the multi-million dollar companies alive or I could re-write it all in a more familiar language. However, I adore COBOL for whatever reasoning makes me feel like I am back with him. I know that I'm probably not making much sense but I just need some inspiration for taking on this daunting task that was left in the hands of his partner after I left my company in which I gave it away because of all the traveling I was doing and as a newly married man, I was gone all of the time. Any where from a week and sometimes up to 3 months at a time. Anyway, I need your help or someone's guidance on getting this back together. The other guy has NO experience with COBOL and has been getting anyone he can to write code for him because I am too busy. This seems to have thrown several curve balls into the programming and has left me no choice to fix others mistakes. It's getting worse and if I did not have the source code that runs my business then I would be screwed and at their mercy. I would explain more but it seems as though I'm writing a book here and instead should be writing code lol.

    • @derekbanas
      @derekbanas  2 года назад

      I'm sorry to hear about your partner. I don't know what to say. I hope everything looks up soon. I've taken on many projects similar to that over the years. All you can really do, which I'm sure you know, is just to break it down line by line until everything makes sense. I was always considered weird for doing this across multiple white boards, but it helped when I got the code out into the real world were I could look at everything at once. I wish you all the best :)

  • @carlruhle7742
    @carlruhle7742 Год назад

    Hi Dered Banas,
    great video, remember-me of my old times and from 2 August is where I will be back, programming in Cobol 🙂.
    I just have a little-big problem, and if you don't mind I request your help, please.
    I having a big problem in installing this software on my machine, the part o Cygwin64 wasn't clear, completely lost over there.
    I've installed Visual Studio Code plus the Cobol extension and Cygwin64 and stopped there, could not proced.
    Is it possible to have clear instructions/directions please, I'm lost, lost has I don't remember.
    Thank you for your time and patience. My very best regards.

  • @endeshaw1000
    @endeshaw1000 Год назад

    Thank you very very much for this awesome tutorial :) I have to learn COBOL for work now and you really managed it to teach the dry stuff in an interesting, fast, but not to fast, way. Great sound mixing and clear pronouncing with really giving right hints and examples of every syntax definition. Thumb up. And yes i following it to the end ;)

  • @avivarma6564
    @avivarma6564 3 года назад

    Using this to prepare for my new job thanks!

    • @derekbanas
      @derekbanas  3 года назад

      I wish you all the best at your new job

  • @Kolian1274
    @Kolian1274 4 года назад

    Thanks I learn a lot you made programming in COBOL so easy I watch. Your video several time.

    • @derekbanas
      @derekbanas  4 года назад

      I'm happy to be able to help :)

  • @Aki-to
    @Aki-to 4 года назад +2

    Great video, have been waiting for this tutorial for a long time.

  • @cbbcbb6803
    @cbbcbb6803 4 месяца назад

    Thanks. It's time for an updated version.

  • @thomaspowers5981
    @thomaspowers5981 4 года назад

    Fantastic Derek.... I took advanced cobol this spring...you got it down

    • @derekbanas
      @derekbanas  4 года назад

      Thank you :) I'm happy that I covered the language well.

  • @mirzaalam9844
    @mirzaalam9844 4 года назад

    I thought the hyperlinked table of contents was from a random internet do gooder before I checked the author, you're the OG bro!

    • @derekbanas
      @derekbanas  4 года назад

      Thank you :) I try to do my best