Something like '| xlate ws - w2 ... pipe literal 15 crcs001-Reg-WORKER-ID$PIC X(00023)| xlate ws - w2 | cons 15 crcs001-REG-WORKER-ID$PIC X(00023)
Regards, Richard Schuh > -----Original Message----- > From: CMSTSO Pipelines Discussion List > [mailto:[email protected]] On Behalf Of Hughes, Jim > Sent: Friday, July 31, 2009 12:51 PM > To: [email protected] > Subject: XLATE a string > > I have a record with field separators of $. > > > > Within those fields I may have field separators of -. > > > > > > Here is a sample of my input record: > > 15 crcs001-REG-WORKER-ID$PIC X(00023). > > > > How would I write the xlate statement to only deal with the > second field delimited by - of second word of first field > delimited by $? > > > > 15 crcs001-REG-WORKER-ID$PIC X(00023). > > ^^ > > > > The ^^ point to what I would want to lowercase. > > > > Thanks. > > > > > > ____________________ > > Jim Hughes > > 603-271-5586 > > "It is fun to do the impossible." > > >
