Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

iSeries - Universal Compile with Source

License

NotificationsYou must be signed in to change notification settings

cod-e-ash/UCompile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is part of myRPG Utils series to help overcome some of the day-to-day activities which can be automated.

We usually compile our objects in source while testing. Also, there are some parameters that we need to change everytime before compilation. This program will help you with that.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have AS400 Machine access (duh!)
Create a RPGUtils Source File to store the files.

CRTSRCPF RPGUTILS

Program and Object Descriptions

  • UCOMPILE
    This is the main program.

  • UCOMPCMD
    Driver command source file.

Installing

Step 1.Upload all files to AS400 server, use ftp.DO NOT CHANGE THE MODE TO BINARY.

  open pub400.com  username  password  cd /QSYS.LIB  cd YOURLIB.LIB  cd RPGUTILS.FILE  mput *.MBR  disconnect  quit

Step 2.Change the atribute type accordingly once uploaded.

  UCOMPILE    CLLE      UCOMPCMD    CMD

Step3.Use below command to compile.

CRTBNDCL PGM(YOURLIB/UCOMPILE) SRCFILE((YOURLIB/RPGUTILS) SRCMBR(UCOMPILE) REPLACE(*NO)               CRTCMD CMD(YOURLIB/UCOMPILE) PGM(*LIBL/UCOMPILE) SRCFILE(YOURLIB/RPGUTILS) SRCMBR(UCOMPCMD) REPLACE(*YES)

Step4.Add new user option.

Enter commandWKRMBRPDM and then goto user options usingF16.
PressF6 to add a new user option.
SetOption asCP. (Instead of CP, you can use any aything that you want for option.)
SetCommand asUCOMPILE(&L &F &N &S)

Running

Now, instead of compiling withOption 14, you can useCP to compile with your own options.

Authors

Ashish Bagaddeo

License

This project is licensed under the Apache License v2.0 - see theLICENSE.md file for details

Acknowledgments

Thankswww.PUB400.com for hosting a public server.

About

iSeries - Universal Compile with Source

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp