Mass Compilation



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

Mass Compilation

Postby shamaam2 » Thu Nov 04, 2010 11:52 am

Hi All,

Please help me on this..

Can we compile all the jobs(stored in a PDS member) through a PL/I program ?

I always see only about cobol code submitting a jcl.. can we do it in PL/I also ?

And, can we do a mass compilation thrugh a program?

Please share your experience....



Thanks...
shamaam2
 
Posts: 13
Joined: Wed Nov 03, 2010 9:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Mass Compilation

Postby NicC » Thu Nov 04, 2010 2:29 pm

As PL/1 can do most anything a COBOL program can plus a few more, perhaps, then of course it can be used to generate and submit batch jobs. It also has interfaces to ISPF so that you can walk through a PDS index and thus generate compile jobs for one or all members of the PDS. To get the syntax, go itnot edit on a pl/1 source module and type MODEL and the PL/1 model ISPF syntax is available to copy into your program.

But...for this sort of thing Rexx is the ideal language.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Mass Compilation

Postby shamaam2 » Thu Nov 04, 2010 2:35 pm

Hi Nicc,

Thanks for your suggestion.

Is REXX easier than coding this in PL/I.. ???

please help me out..
The requirement is mass compilation process of jcls from a PDS.
shamaam2
 
Posts: 13
Joined: Wed Nov 03, 2010 9:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Mass Compilation

Postby NicC » Thu Nov 04, 2010 2:46 pm

Of course it is - the syntax is similar to PL/1's but it is an interpreted language (you can compile it if the compiler is installed) so you can add some code and try it out in seconds. Use the Trace command for debugging. Also Rexx has an interface to ISPF services that is only simpler in CLIST.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Mass Compilation

Postby shamaam2 » Thu Nov 04, 2010 3:04 pm

NicC wrote:Of course it is - the syntax is similar to PL/1's but it is an interpreted language (you can compile it if the compiler is installed) so you can add some code and try it out in seconds. Use the Trace command for debugging. Also Rexx has an interface to ISPF services that is only simpler in CLIST.



Thanks Nicc, i will try it out..
shamaam2
 
Posts: 13
Joined: Wed Nov 03, 2010 9:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Mass Compilation

Postby enrico-sorichetti » Thu Nov 04, 2010 8:08 pm

this topic is a perfect duplicate of the other one
jcl/topic4595.html
just the implementation language is different
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Mass Compilation

Postby dick scherrer » Fri Nov 05, 2010 12:38 am

Hello,

Is REXX easier than coding this in PL/I.. ???
If one knows pl/i well and does not know rexx at all, pl/i will be easier.

If one knew neither, i suspect there are many rexx examples that could be "snagged & cloned". For example, the rexx that is in the link Enrico provided. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Mass Compilation

Postby steve-myers » Sat May 07, 2011 9:44 am

  • Can we compile all the jobs(stored in a PDS member) through a PL/I program ?
    Yes and no. Regular PL/I code cannot easily access a PDS directory. The other issue is that you haven't defined the reason you want to do this, and what you want to do with the outputs from the compile. For more than 30 years I assembled all of JES2 for each release, and retained the listings, parts of the SYSADATA (when SYSADATA became available in the 1990s), and the object output.
  • I always see only about cobol code submitting a jcl.. can we do it in PL/I also ?
    Yes.
  • And, can we do a mass compilation thrugh a program?
    Yes. That's what I did for my mass JES2 assemblies.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post