compile commands in RPG

0 pts.
Tags:
Application development
AS/400
AS/400 careers
Backup & recovery
CLP
DataCenter
DB2 Universal Database
Email
IBM Marketing Sound Off
PC/Windows Connectivity
Printing
RPG
RPGLE
Security
Web development
hey all! i am working on a project where i have to use compile commands for various member types, such as CRTRPGPGM for RPG, CRTPF for PF and so on.. but these commands have to run in the background, and the user should know nothing of it, i.e. it should be program oriented. how can i achieve this? plz help... ...SR
ASKED: May 15, 2006  2:40 AM
UPDATED: December 7, 2009  7:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

I’m not sure what your issue is in trying to do this. It is fairly simple. You can specify the compile command in a CL program and have the user run the CL program from a menu. All of the parameters can be either forced as a specific constant or you can provide substitutional variables instead. If you want to get more complex, you can construct the commands in a HLL program like RPGLE and then run them with the IBM QCMDEXEC command.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Pollywantsacracker
    Maybe you are concerned about compile listings? Just override them to hold the output.
    0 pointsBadges:
    report
  • JPLamontre
    I have built a tool to remember all compile option for each of my objects (pgm, dspf, prtf, pf, ...). It can be used either in batch or interactively. It is at http://jplamontre.free.fr/AS400/MAKE.htm
    0 pointsBadges:
    report
  • TomLiotta
    But what is your problem? Running commands 'in the background' simply translates to "submitting to batch". So.. use SBMJOB to submit the commands to batch. What's the problem? Tom
    125,585 pointsBadges:
    report
  • ITAddict
    Sounds like you are trying to recreate PDM.
    875 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following