Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-16 Thread Rob van der Heij
On Nov 15, 2007 10:51 PM, <[EMAIL PROTECTED]> wrote: > > great - i got that to work in my PIPE. > thanks for the direction. The arithmetic in SPEC is somewhat designed after the IBM 407 Accounting Machine. You will fine a few references to that in The Book (the "CMS/TSO Pipelines: Author's Editio

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-16 Thread Rich Greenberg
On: Thu, Nov 15, 2007 at 03:20:10PM -0600,[EMAIL PROTECTED] Wrote: } are you refering to the Authors Edition? Yes. } didn't find any references to 407 emulation. } } or did you mean online help? Someone posted the exact way to get the 407 info. I don't have a system available to find it on.

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread phillip
great - i got that to work in my PIPE. thanks for the direction. prg Phillip Gramly Systems Programmer Communications Data Group Champaign, IL The IBM z/VM Operating System wrote on 11/15/2007 03:08:40 PM: > You can issue PIPE AHELP SPECTUT and PIPE AHELP SPECREF for a tutorial > and the SP

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread phillip
Rich, are you refering to the Authors Edition? didn't find any references to 407 emulation. or did you mean online help? prg Phillip Gramly Systems Programmer Communications Data Group Champaign, IL The IBM z/VM Operating System wrote on 11/15/2007 02:53:37 PM: > On: Thu, Nov 15, 2007 at 0

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Kris Buelens
You can issue PIPE AHELP SPECTUT and PIPE AHELP SPECREF for a tutorial and the SPECS reference. A little changed pipe: PIPE (sep !) Literal |1234.56| ! Specs FS | a: F2 . Print a*1000 PIC 99 1 ! cons And, as you seem brandnew in 407: "a: F2 . " means assign symbol "a" to field

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Rich Greenberg
On: Thu, Nov 15, 2007 at 02:43:03PM -0600,[EMAIL PROTECTED] Wrote: } also, i don't find anything in the manual about 'print a*' } can you explain that part of the pipe? Phil, Look for "407 emulation", probably in the "Authors help". -- Rich Greenberg N Ft Myers, FL, USA richgr atsign panix.com

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Dave Jones
Phil, the best source of current PUIPE documentation is the so-called "Author's Edition" of the documentation. You can find a current copy here: http://vm.marist.edu/~pipeline/ Look for the section entitled "CMS/TSO Pipelines Author's Edition". Good luck. [EMAIL PROTECTED] wrote: yes, nora i

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread phillip
yes, nora is correct - that is the manipulation that i need. i have used PIPEs to convert all the | to ¦ to help in reading the pipeline i understand the literal stage, but the SPECS seems to not be complete with a stage separator before it is complete. should it be: | SPECS FS ¦ Field 2 | a:

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Kris Buelens
23 > > > -- > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Kris Buelens > *Sent:* Thursday, November 15, 2007 4:53 AM > *To:* IBMVM@LISTSERV.UARK.EDU > *Subject:* Re: CMS Pipelins - can SPEC reformat a field with

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Rob van der Heij
On Nov 15, 2007 2:35 PM, Graves Nora E <[EMAIL PROTECTED]> wrote: > I can answer the COBOL part, anyway. :-) > > He needs a resulting field that will appear this way for each example: > 0 00 > 1 001000 > 12012000 > 123.4 1

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Graves Nora E
IRS, Room 6513 (202) 622-6735 Fax (202) 622-3123 From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Kris Buelens Sent: Thursday, November 15, 2007 4:53 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: CMS Pipelins - can SPEC reformat a field

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Rob van der Heij
On Nov 15, 2007 10:52 AM, Kris Buelens <[EMAIL PROTECTED]> wrote: > The silence here probably means the audience is not familiar with "COBOL > program where the field is 9(7).9(7)". Anyhow, I don't underdstand. It certainly explains my lack of response ;-) I suppose the poster should look at t

Re: CMS Pipelins - can SPEC reformat a field with decimal

2007-11-15 Thread Kris Buelens
The silence here probably means the audience is not familiar with "COBOL program where the field is 9(7).9(7)". Anyhow, I don't underdstand. I can say however that in your specs you have two things that are not required, hence pure overhead: "PAD BLANK" is default and when padding is with blanks

CMS Pipelins - can SPEC reformat a field with decimal

2007-11-14 Thread phillip
i am using pipelines to reformat a DB data dump file that has vertical bars as field separators. one of the fields is a dollar amount which can take any of these formats: 0 1 12 123.4 1234.56 i want to reformat this as input for a COBOL program where the field is 9(7).9(7) can i do this in the