Solved

System/36 Procedure question

Posted on 2008-10-01
2
665 Views
Last Modified: 2013-12-17
I am attempting to modify what I believe is an old S/36 procedure because some filename changes by a software vendor have rendered them useless. I have very little experience programming on an iSeries, let alone in an S/36 environment.

I am using the following:
System i 525 Power 6
OS version V5R4M5

The source file for the procedure I am trying to modify is QS36PRC. I can access the source, make the necessary change (change the name of a file it is referencing) and then save the source.

If I run the program at this point, it still fails on the same line. I am assuming that I first need to recompile the program from source for the change to take effect.

My question is, how do I recompile the program? Digging through what reference material I could find, I found some methods of compiling such as RPGC (within the S/36 env) or CRTS36RPG. All of these commands fail claiming the library #RPGLIB was not found. This error returns 0 results on Google.

Can someone point me in the right direction to solve this problem?
0
Comment
Question by:jclark01
2 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 250 total points
ID: 22615205
OCL is not compiled - it is interpreted.  QS36PRC is the source file for OCL procedures.  

Use SEU to make the change, save it, and you should be good to go.  You say "run the program" - do you mean "start the procedure"?  How, exactly do you kick off the procedure?

Suggest you post the OCL and the error message you are getting here.  My S/36 is rusty, but I may be able to help.

- Gary Patterson
0
 
LVL 2

Author Closing Comment

by:jclark01
ID: 31501978
Gary, thanks for the help. With your suggestions I was able to get started and fix some of these old procedures. I am running into a different problem on a few of them that I will post as a new question. If you can, I would appreciate any help you can offer on that.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question