Hello world program in mainframe Cobol - M124

preview_player
Показать описание
To chat with moshix on the Discord moshix channel click here:

and here is the JCL to compile, link and go a Cobol program on IBM z/OS:

//MOSHIXC JOB 'COBOL HELLO WORLD ',
// MSGCLASS=H,MSGLEVEL=(1,1),REGION=250M,
// CLASS=A,NOTIFY=&SYSUID
//*
//CLG EXEC IGYWCLG,REGION=250M,
// PARM.COBOL='LIB,APOST,XREF,MAP,OFFSET'
//STEPLIB DD DSN=IGY340.SIGYCOMP,DISP=SHR
//COBOL.SYSIN DD DSN=MOSHIX.WORK.PROG(HELLO),DISP=SHR
//GO.SYSOUT DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=161,BLKSIZE=16100)

To chat with moshix on the Discord moshix channel click here:

Рекомендации по теме
Комментарии
Автор

Love your videos! I am also part of the "COBOL BANDWAGON" that just got interested recently because of all the buzz. Finally got my "hello world" running in the MVS Hecules setup after a couple late nights of messing around. Been programming for over a decade and I never learned anything about mainframes. They are a lot of fun! Thank you for your content

michaelvasquez
Автор

I have started learning COBOL recently. I work with mainframes and I decided to take up this new challenge this year to learn COBOL. You videos are inspiring and love how things are been explained

immanuelzanyo
Автор

Just a note: Admiral Hopper died in 1992, so it's been a while, but Grandma Cobol was an awesome woman.

grappydingus
Автор

COBOL can never be dead. In fact those who say so need to come to the real world of computing on mainframe using cobol

udayprasad
Автор

I remember my first program for a HP Tándem. 16k lines 😁👌 works great 😎

alfonsoadalberto
Автор

Simply too good. Moshix I llove make it look so simple.

udayprasad
Автор

Hi moshix thanks a lot excellent video some of us being away like to go back to Cobol. Programming i like all your video.

Kolian
Автор

I just stopped by because NJ is in need of Cobol programers due to the mass unemployment claims recently. Apparently their system uses this program which the governor says is 40 years out of date... 🤷🏼‍♂️

daddymcsnacks_
Автор

I hope you'll do more and more of Cobol!

ruffyatutube
Автор

Thanks for the video....keep doing such videos ....it helps me a lot as I am new to this language

seshasharma
Автор

Great as usual, I'm sure I'll come back to this if I take the plunge into playing with COBOL.

grappydingus
Автор

I like COBOL because when I go the "hole in the wall " it gives me cash! Is the university churning out COBOL programmers? I heard a BBC 4 radio programme a few years back which informed that COBOL experts were in great demand because those who still knew "the guts" of the financial system were nearing retirement or the grave. There had been a systems failure during the UK Xmas shopping rush which had halted card transactions. This event had prompted the investigative broadcast. The whole thing turns out to be a big banking rabbit-hole with failures to merge technologies in better than a "quick and dirty" manner.

SubTroppo
Автор

Not gonne lie, I would consider to learn it in order to be more valueable for the job market.

Konslufius
Автор

Grace Hopper invented the idea of a compiler, from what I remember too, if I remember correctly.

catherined.
Автор

Hi Moshix
As always another excellent video
Can we have same set up you show in this video on Mainframe computer in MVS 3.8 TK4 environment.

hjonroz
Автор

It would be interesting to see if the 31 bit programs compiled on z/OS work unmodified in MVS/XA. Something this small I don't see why not, but maybe something a little more complex that doesn't call anything z/OS specific. Can you still compile in 24 bit mode?

stonent
Автор

Why UPPER-case? The restriction was gone -85, the COBOL-compiler on your ADCD-system supports much more than the COBOL-85 standard.
Why not highlighting in the editor? Just enter HI COBOL.
Why not skip the first six columns? Just enter NUMBER ON COBOL.

Without those simple changes, it looks more complicated than it ought to be!
.

ThePetersterwe
Автор

I use hércules and download a different version of z/os, you have to use this //STEPLIB DD DSN=IGY410. SIGYCOMP, DISP=SHR

JuanSebastianTL
Автор

Hey, what text color do you think is the most relaxing for our eyes?

IWillSexU
Автор

Is there a way to add "HI COB" to Hercules?. "HI JCL" works but not "HI COB".

mjshaheed