bard.google.com is much worse: ---------------------- Sure, here is a sample HLASM program that prints the message "Hello, world!" to the console:
Code snippet HLASM program to print "Hello, world!" * * * CSECT * Start of main program MAIN: * Print message MVC SYSPRINT,MESSAGE PUT SYSPRINT,(1) * End of main program END MAIN * Message to be printed MESSAGE: DC C'Hello, world!' Then it tries to provide an explanation and makes things even more obscure: This program first defines a section called MAIN. This section contains the main program code. The next statement, MVC SYSPRINT,MESSAGE, copies the message Hello, world! to the memory location SYSPRINT. The next statement, PUT SYSPRINT,(1), prints the contents of SYSPRINT to the console. The last statement, END MAIN, marks the end of the main program. Mike Shaw MVS/QuickRef Support Group Chicago-Soft, Ltd.