What is the need of assembler?

HLASM for MVS. PL/I for MVS & Enterprise PL/I for z/OS.
Post Reply
Rajeev Singh
New Member
Posts: 5
Joined: Sun Nov 30, 2014 7:56 am

What is the need of assembler?

Post by Rajeev Singh »

I am learning assembler or say trying to learn. Assembler is difficult language to code. Since COBOL compilers can covert COBOL code into machine language, what is need of assembler?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: What is the need of assembler?

Post by Robert Sample »

There are things you can do in Assembler that you cannot do in COBOL. For example, if you want to access a data set for which the record length is not known -- assembler can handle this but COBOL requires the record length be known at compile time.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Assembler & PL/I.”