Mainframe Languages

356

Solutions

429

Contributors

There are many computer languages, and they have been evolving from machine language into a more natural way of writing. Languages are generally classified into machine language (direct machine code); assembly (using mnemonics to present the instructions to be translated later into machine language by an assembly program); procedural languages, also known as high-level languages (HLL) (Pascal, FORTRAN, Algol, JCL, COBOL, REXX, PL/I, Basic, and C are common), along with several other types. Mainframe programming is largely done in the procedural languages.

Share tech news, updates, or what's on your mind.

Sign up to Post

I need to start learning RPG400, does anyone know of any sites or can email an manuals to me in order to get me started....
0
Seems I am the first one who put up a question about COBOL. COBOL is a Grand-grand-pa old language. Truely speaking I don't like it. But I have to write programs in COBOL. That's quite paintful, isn't it? ;-)

Here is my question:
I have two programs, one is the calling-program and the other called-program. The calling-program will send parameters to the called-program. This is can be written like:
  CALL Called-Program USING Parm1, Parm2, ...
  .
  END-CALL
  ...

Furhter, the calling-program wait for the return value from the called-program. And I am not allowed to define EXTERNAL GLOBAL variables in the DATA DEVISION. I don't know how to do. I've read some COBOL books and haven't fond out any answer to my question.

Is there any COBOL-Dinosauier here? ;-)
0
Hi, I'm converting an old cobol program to another language.

One simple question that I need to check on.

Am I correct in presuming COMPUTE ROUNDED will round up/down dependent on the modulo part being <> .5 ?
0
Hi,

seems i have a little problem printing records in cobol.
I use the write-command  and everything works well.
But the printer does not print. I have to manually press a button on my printer to get the paper out.

Is there a command in Cobol that i should be using to do this automatically? Or is it just my printer or Windows / dos ?

Cheers
Ricky
0
hi experts,

problem 2 (day 1 - pretty good)

I got a little program that holds these 'programs'.

MenuBib.cbl (this it the head menu)
Menuoptions :
1. Members
2. Books

MenuMemb.cbl
Menuoptions:
1. Add
2. Delete
3. End

MenuBook.cbl
Menuoptions
1. Add
2. Delete
3. End


if the user chooses option 1 in MenuBib.cbl i use
Call "MenuMemb"

This works great.
But when the user then selects option 3 (end) from MenuMemb.cbl, which again opens MenuBib.cbl i get this error:
Error number : 166
Description : Recursive Cobol Call is illegal


i have tried using :
End program MenuMemb.

but to no avail...
perhaps i got the syntax wrong or something...
Or this is not the way to do it in cobol?


cheers
Ricky
   
0
i am writing a file update program and need to know when the current record is the last record in the file. i would also apreciate if sum1 cud tell me how cobol sorts things? is it by ascii or what?
0

Mainframe Languages

356

Solutions

429

Contributors

There are many computer languages, and they have been evolving from machine language into a more natural way of writing. Languages are generally classified into machine language (direct machine code); assembly (using mnemonics to present the instructions to be translated later into machine language by an assembly program); procedural languages, also known as high-level languages (HLL) (Pascal, FORTRAN, Algol, JCL, COBOL, REXX, PL/I, Basic, and C are common), along with several other types. Mainframe programming is largely done in the procedural languages.

Top Experts In
Mainframe Languages
<
Monthly
>