Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between PROC & PGM used in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vandana2006

New User


Joined: 18 Jan 2006
Posts: 3
Location: pune

PostPosted: Fri Jan 20, 2006 12:28 pm    Post subject: Difference between PROC & PGM used in JCL
Reply with quote

What is the difference between PROC & PGM used in JCL.
I think pgm is a utility while PROC is pretested JCL statements.
proc contains jcl statements used to make only load module of a program.
please correct me .
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Fri Jan 20, 2006 12:58 pm    Post subject: Re: JCL PGM& PROC
Reply with quote

Hi,

Yes you are right.

For more etails please go thru manual.

Regards
Rupesh
Back to top
View user's profile Send private message
pankajayee

New User


Joined: 20 Sep 2005
Posts: 26

PostPosted: Fri Jan 20, 2006 8:59 pm    Post subject:
Reply with quote

Hi,

I want to add a little bit of information.

PGM must not always be a utility, It can be a developed program (might be a COBOL or ASSEMBLER) for performing a particular task.

Correct me if I am wrong.


Pankaj
Back to top
View user's profile Send private message
Ajitwip06

New User


Joined: 24 Jan 2006
Posts: 1

PostPosted: Tue Jan 24, 2006 11:27 pm    Post subject:
Reply with quote

What you have said and the other replies are perfectly right.

Just to add a little more...

Programs can reside in system libraries (datasets usually named SYS1.LINKLIB), in temporary libraries, and in private (user defined) libraries. A program must be a member of a partitioned dataset.
If the program name cannot be found in the libraries the job terminates abnormally.

Procs can be catalogued or instream and not necessarily restricted to making load module of a program.
( while coding we may also code //stepname EXEC PROC=procname , but usually no one does)

Ajit.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 25, 2006 1:13 am    Post subject:
Reply with quote

A little correction: Program must always to be a compiled load module. Even and interpreted program (REXX, EZTRIEVE, NATURAL) runs through some interpreter - which is a load module by itself. Instream programs also link-edited and become load modules before the "go" step.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us