🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.tsorexx
Article #151

Re: Help with column specific output using Rexx

#151
From: EXT-Schwarz, Barry
Date: Fri, 26 Apr 2013 21:23
18 lines
2736 bytes
You decide how long each field should be as part of your design.  You can probably determine these values from the assembler code that you are converting from.

Then you process the fields sequentially.  For the first, you simply assign to your string.  For each subsequent field, you append to the previous result.  Something like
     string = left(value1,len1)
     string = string || left(value2,len2)

> -----Original Message-----
> From: TSO REXX Discussion List [mailto:TSO-REXX@vm.marist.edu] On
> Behalf Of Trimble, John
> Sent: Friday, April 26, 2013 11:26 AM
> To: TSO-REXX@vm.marist.edu
> Subject: Re: Help with column specific output using Rexx
>
> So how do I make the output fields a consistent length?

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LISTSERV@VM.MARIST.EDU with the message: INFO TSO-REXX
Technical Details
Message-ID: <0E6F70937CDD8B4C83A5069C6296B38422BAB59A@XCH-PHX-101.sw.nos.boeing.com>
Path: arc1-ca.pugleaf.net!hg5ni66802wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!newsflash.concordia.ca!ottix-news.ottix.net!newsswitch.lcs.mit.edu!xmission!news.glorb.com!news-out.readnews.com!transit3.readnews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <E80378114A315D42938E2F97571F6334F0C718F1A4@VFIEXMBX01.us.ad.usa-ed.net> <BLU168-W6209DE701BFB9629D447EFA1B70@phx.gbl> <E80378114A315D42938E2F97571F6334F0C718F1A8@VFIEXMBX01.us.ad.usa-ed.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 357a14e69d,dc32636544a4befb
X-Google-Attributes: gid357a14e69d,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.198.179 with SMTP id jd19mr2880550wic.5.1367665248938;
        Sat, 04 May 2013 04:00:48 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni66802wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!newsflash.concordia.ca!ottix-news.ottix.net!newsswitch.lcs.mit.edu!xmission!news.glorb.com!news-out.readnews.com!transit3.readnews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: barry.schwarz@BOEING.COM (EXT-Schwarz, Barry)
Newsgroups: bit.listserv.tsorexx
Subject: Re: Help with column specific output using Rexx
Date: 26 Apr 2013 14:23:32 -0700
Organization: None
Lines: 19
Message-ID: <0E6F70937CDD8B4C83A5069C6296B38422BAB59A@XCH-PHX-101.sw.nos.boeing.com>
References: <E80378114A315D42938E2F97571F6334F0C718F1A4@VFIEXMBX01.us.ad.usa-ed.net>
            <BLU168-W6209DE701BFB9629D447EFA1B70@phx.gbl>
            <E80378114A315D42938E2F97571F6334F0C718F1A8@VFIEXMBX01.us.ad.usa-ed.net>
Reply-To: TSO REXX Discussion List <TSO-REXX@vm.marist.edu>
NNTP-Posting-Host: XCH-PHX-101.sw.nos.boeing.com
Mime-Version: 1.0
NNTP-Posting-Date: 26 Apr 2013 21:23:32 GMT
X-Received-Bytes: 1835
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit