Solved

System/36 Procedure question

Posted on 2008-10-01
2
659 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

A list of useful business intelligence software.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifiā€¦
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
Viewers will learn how to use the Hootsuite Dashboard.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now