|
----- Original Message ----- From: "Winchester Terry" <terry.winchester@raymondcorp.com> To: <cobol400-l@midrange.com> Sent: Tuesday, August 13, 2002 10:59 AM Subject: RE: Need for separate Input and Output Areas in Display File > I believe the only way you can do this is via bound Service > Programs -- but I'm not versed in that area. Of course, just > calling an RPG program is dead simple (just like CL). And calling procedures is just as simple: CALL PROCEDURE "WhatEverTheHellYouWant" USING...... > I wished Cobol had better string handling. The String/Unstring > statements work pretty well if you understand but they can > become quite complicated. Having some special "intrinsic > functions" like RPG would be nice :) How bout reference modification? FIELD-A(12:45) That's substring, pos 12, length 45. And you can use variables FIELD-A(from-pos : toPos) How bout they DO have intrinsic functions.... all the trig functions, things like LOWER-CASE, ADD-DURATION, blah blah blah... Chapter 15 of the reference.... =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified Specialist - iSeries Administrator -- IBM Certified Specialist - RPG IV Developer "There is a crack in everything, that's how the light gets in. - Leonard Cohen
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.