can we call proc from proc?

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Abhiyanta
Member
Posts: 7
Joined: Fri Mar 31, 2006 10:37 pm
Location: PUNE

can we call proc from proc?

Post by Abhiyanta » Fri Mar 31, 2006 10:55 pm

is it possible for calling procedure of jcl from procedure?
if yes. plz tell how many level we can do?
if no . why?

User avatar
rangab
Active Member
Posts: 56
Joined: Fri Mar 17, 2006 3:21 pm

You can.

Post by rangab » Sun Apr 02, 2006 6:17 am

Yes. You can call a PROC from a PROC. It is upto 15 levels.

Corrections are welcome.
========
Ranga...:-0)
========
Learn Which You Don't Know - Teach Others Which They Don't Know.

YUVARAJAS
Member
Posts: 1
Joined: Thu Jan 03, 2013 3:03 pm

Post by YUVARAJAS » Thu Jan 03, 2013 3:06 pm

This is not correct.. we can't call a proc from proc.
Regards,
YUVARAJA

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Jan 03, 2013 10:53 pm

This is not correct.. we can't call a proc from proc.
Why do you believe this? Our systems have several "nested" PROCs. As have every organization i've supported (more than 100) for the last 30 years when i became a consultant/contractor.

Please post facts, not beliefs or opinions or local standards/restrictions.

Possibly you can post something that shows this failure?
Last edited by DikDude on Fri Jan 04, 2013 9:45 pm, edited 1 time in total.
Have a good one

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Jan 04, 2013 7:26 pm

The original question was posted long back, so I think OP is not looking for an answer now. Said that, original question is, actually, posed badly. One does not "CALL" a PROC, you execute it.

And "nested" PROC are very much in use, as Dick indicates.
Regards,
Anuj

enrico-sorichetti
Member
Posts: 1
Joined: Tue Apr 03, 2012 7:18 pm

Post by enrico-sorichetti » Wed Jan 09, 2013 6:20 pm

This is not correct.. we can't call a proc from proc.
did You care to look at the manual before posting ???

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Jan 14, 2013 1:00 pm

Welcome Enrico! :)
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others