How to avoid having to use the Compile menu of RDi 2 times in a row - to create first a SQL RPGLE module and then to create the service program associated?
IBM for i / RPG: How to compile a module and create a service program with one call in IBM Rational Developer for i (RDi)
539 Views Asked by Stephane Ehret At
1
There are 1 best solutions below
Related Questions in RPGLE
- RPG file using dynamic SQL fails to display data to display file
- IBM Rational - indentation available in Rational 9.6.0.6?
- How to get a list of programs that uses a particular command in AS400
- how to write to new line in printer file?
- Why do I need numeric constant?
- Doing an external webservice call from rpgle program
- VSCode warning in RPG-LE ("Subroutines should not be defined in the global scope")
- RPG - how do we return a parameter using C-style "Return <Value>" syntax
- Why do I get a Decimal data error when I run this SQLRPGLE program
- Are there any examples of writing a User Defined Table Function in RPG using a linear-main program?
- %THIS Built-in Function Example
- How to create radio button in AS400 using DSPF record file and AS400
- How to default check true any one radio button using RPGLE program in AS400
- Does DS OVERLAY support VARCHAR sub-fields?
- I need to display the hex value of a file field value in display file in a rpgle program
Related Questions in RPG
- How to get a list of programs that uses a particular command in AS400
- Doing an external webservice call from rpgle program
- How to default check true any one radio button using RPGLE program in AS400
- I need to display the hex value of a file field value in display file in a rpgle program
- Chain vs Select RPG
- Maximum number of members in IBMi PF and maximum number of records in a member
- How to get the number after the decimal position in RPGLE program
- How to filter the decimal place in SQL for IBM DB2 database running in IBM-I (as400)
- How to get the list of binding directory attached to a rpgle program
- Problem with RPG Prototype for java.io.File
- ACTGRP query on AS400
- Using a variable for a database file in embeded SQL in free RPG
- How to determine in a rpgle program if a file is locked or not?
- Prototype not used in called RPGLE program , but the program still works
- Compiler directive not recognized
Related Questions in RATIONAL-DEVELOPER-FOR-I
- Github and RDi integration architecture
- IBM for i / RPG: How to compile a module and create a service program with one call in IBM Rational Developer for i (RDi)
- How to query a table in Fixed format RPG and check record with if-condition?
- Editing RPGLE-Code directly from the ifs?
- Memory Monitor using ':C XXXX' in RDi not Showing Variable Value
- How to EDTWRD on Rational Developer for IBM i
- IBM System i - Debug Server for RDi debugging doesn't work
- Error during installation of dark theme into IBMs RDi
- CSS/JavaScript breaks on Websphere 8.5 server
- RDi online help not working - does changing http to https fix it?
- Does RDi convert RPG fixed form code to free form?
- In RDi, how do I run a debug with UPDPROD(*YES)?
- Multiple SYSLIB in a property group or multiple property groups in a COBOL program in Rational Developer for System Z
- AS/400 Wont compile Printer File under RDP 8
- Setup/change RDP's default Output Queue?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For that, you create first a CL Program (let's name it CRTSRVPRG) like this:
Then in the menu Compile / Compile / Work With Compile Command…, you add the following 2 new commands:
"New service program or change in the interface"
CALL PGM([your library]/CRTSRVPRG) PARM(&L &F &N 'Y') /* OPTION(*EVENTF) SRCMBR(&N) */
"Recompile service program"
CALL PGM([your library]/CRTSRVPRG) PARM(&L &F &N 'N') /* OPTION(*EVENTF) SRCMBR(&N) */
Tipp: you can use the button "Run compile command without prompting" from the toolbar to execute the last command, without having to use the menu.
The addition in the command of
gives you the feedback for the module compilation in the Tab "Error List". Unfortunately, there is no feedback for the creation of the Service Program. For that, you'll have to look into the Tab "Commands Log"...