What is the difference between PROC and PGM?

Showing Answers 1 - 4 of 4 Answers

chandrasekaran

  • Jun 22nd, 2006
 

Proc is the name which begins the procedure. It is mandatory when you go for a procedure you have to give proc.

Pgm is the name of the program you want to execute. Default Pgm's for ex. are sort, idcams, iebcopy

Thanks

Chandrasekaran

  Was this answer useful?  Yes

Kishore Sharma

  • Aug 4th, 2006
 

Proc is a procedure generally coded for executing repetitive job and coded in JCL.

Pgm is a program coded in COBOL(main language) DB2,

PGM could be inbuilt also such as IDCAMS, IEFBR14, and many more

  Was this answer useful?  Yes

PADMA

  • Apr 23rd, 2019
 

Can you please explain what is proc and why it is needed in writing code

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions