Thanks
Troy
If you are compiling from PDM you can create a user defined option
with all the default parameters. Try F16 from within WRKPMBRPDM.
Create a new option and then enter against the sourse member.
Peter
If you don't want to use RLU, the answer is probably no. But, I usually put
the CRTPRTF command as comments at the beginning of the source. Then, when I
want to compile, I display (or edit) the source, copy (using PC5250...) the
create command, and then paste it onto a command entry display. (Using RLU
is probably easier in the long run, but has a learning curve.)
There are other third party products that will do it as well. I don't know
if it is separately available, but Jasmine Developer 2E from CA (formerly
Cool:2E from Sterling Software, formerly Synon/2E from Synon Ltd) comes with
a programmer tools library (Synon/1E tools). One thing that Synon/1E
provides is a compiler preprocessor. You put RTGDTA in your *JOBD, and a
matching routing entry in the batch subsystem where you submit your
compiles; the routing entry specifies the preprocessor program instead of
the usual QCMD. Special comments at the top of the source are instructions
for the preprocessor. Basically you have special comments. Comments without
Y or Z are ignored by the preprocessor. Comments with Y* appearing before
the Z* are executed as commands before the create; useful for doing things
like OVRDBF. Comments with Z* are the actual create command (CRTPRTF, in
your case). Comments with Y* that come after Z* are executed as commands
after the create.
"tmnelson" <nels...@uswest.net> wrote in message
news:W8Pi7.661$Hd7....@news.uswest.net...
I am using QCMDCHK to get the attributes into a variable. On another
session I create the printerfile. I return to my first session and
perform a QCMDEXE with the attributes retrieved by using QCMDCHK.
See the attached sources. Some things are in dutch, but I am convinced
you will learn fast. So the next time I can reply dutch to you.
Ben Thijssen