Sorry, that was for jBC. Poor reading on my part. The way I handled what you want to do is with a jBC program like this:
File BP , Record 'UCASE' Command-> 0001 * @(#) UCASE Ported to jBASE 12:12:05 15 JAN 2000 0002 PROCREAD Buffers THEN 0003 Buffers = OCONV(Buffers, "MCU") 0004 PROCWRITE Buffers 0005 END Then invoke it in your PROC like so: 001 PQN 002 RI 003 T (0,0), "Package Tracking", (-4) 004 T (0,2), (-4) 005 T (0,1), (-4) 006 HSORT TRACKING CARRIER CNV MCT DATE INIT WITH CARRIER = 007 OEnter the string to find + 008 IP> 009 HUCASE 010 P 011 HOR WITH DATE = 012 A1 013 HOR INIT = 014 A1 015 P That's probably not exactly right, and not at all tested, but it's the general idea. You may want to invoke UCASE after filling all the proc buffers and just before executing with the final P. In our case, we're typically looking for one input, and branching on what we get, so it's a little different. -Gary- On Mon, Jan 12, 2009 at 12:24 PM, ww <[email protected]> wrote: > > Thanks Gary but varname = OCONV(varname, "MCU") doesn't seem to work > in JCL. Anymore thoughts? > > On Jan 12, 12:08 pm, "Gary Calvin" <[email protected]> wrote: > > varname = OCONV(varname, "MCU") > > > > -Gary- > > > > > > > > On Mon, Jan 12, 2009 at 6:43 AM, ww <[email protected]> wrote: > > > > > Thanks in advance, > > > > > WW- Hide quoted text - > > > > - Show quoted text - > > > > --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
