Page 1 of 1

How to run a pl/1 pgm?

PostPosted: Thu Sep 10, 2009 6:41 pm
by parthiban
Hello Guys..


I want to run a pl/1 program .its my example.Could u pls tell me how to run it...


EXAMPLE:PROCEDRE OPTIONS(MAIN);
PUTLIST('THIS IS MY EXAMPLE PGM');
PUTLIST('I AM PARTHI');
END EXAMPLE;


Thanks,
parthibanj

Re: How to run a pl/1 pgm?

PostPosted: Fri Sep 11, 2009 1:03 am
by dick scherrer
Hello,

Talk to whoever supports the compilers on the system you use. They can provide the proper compile/link jcl as well as an example of jcl to execute the compiled module.

Re: How to run a pl/1 pgm?

PostPosted: Tue Oct 27, 2009 9:52 pm
by gui1039
I'm having the same difficulty. Someone can help us? I've been trying the support but it not tended my problem..

Thanks..

Re: How to run a pl/1 pgm?

PostPosted: Tue Oct 27, 2009 11:58 pm
by dick scherrer
Hello and welcome to the forum,

Someone on your system has already set up the process to compile (and then execute) pl/i code.

You need to talk with the peoplle who are responsible for the compilers (or with a co-worker) as to how to compile/link your code on your system to learn the standard way to do this on your system.

Re: How to run a pl/1 pgm?

PostPosted: Wed Nov 04, 2009 9:33 pm
by gui1039
I'm using the IBM VisualAge PL/I and I just can run the examples that came with the instalation. If I want to do a new file .pli and compile, don't works...

Anyway, I need help to connect to database DB2, someone can help me?

I did search on google but don't find anything...

Thanks a lot.

Re: How to run a pl/1 pgm?

PostPosted: Thu Nov 05, 2009 12:45 am
by dick scherrer
Hello,

Do not post "it didn't work". No one can help with that lack of information. . .

You need to speak with the people who support the compiler(s) to learn what you have out of sync with the new code.

You also need to ask how db2 is used on your system. There is almost positively a procedure already in place to compile programs that use DB2 and you need to follow your site-specific method.