Re: IPCS formatting of I/O control blocks

2023-04-29 Thread Jim Mulder
 If you do  an IPCSDATA ACTIVE   subcommand under IPCS, you should find in there

DATA STRUCTURE(Tcb) FIND(BLSSTCB) FORMAT(IEATCBF) SCAN(BLSVTCB)  
  
   EXIT CBSTAT(TCB) EP(BLSAFLG)   
   EXIT CBSTAT(TCB) EP(IEAVTRCA)  
   EXIT CBSTAT(TCB) EP(IEAVG701)  
   EXIT CBSTAT(TCB) EP(BPXGMCBS)  
  
   EXIT FORMAT(TCB) EP(IECDAFMT)  
   EXIT FORMAT(TCB) EP(IECIOFMT)  
   EXIT FORMAT(TCB) EP(IEAVTFMT)  
   EXIT FORMAT(TCB) EP(IEAVD30)   
   EXIT FORMAT(TCB) EP(IEAVXD01)  
   EXIT FORMAT(TCB) EP(ICHIXTCB)  

  It is the EXIT FORMAT(TCB) EP(IECDAFMT) that drives this data management 
formatting.
Here is a sample from z/OS 2.5:

DATA MANAGEMENT CONTROL BLOCKS FOR OPEN DATA SETS   
   

   
---DEB 1 AT LOCATION 8AAD84, DDNAME=SYS00021 DSNAME=O.MCEVS4.DMP00065,  INPUT 
--   
-24 AVT:  EOEA   00FF47EC  SIOA 80CD5500  PCIA  00FF47EC   CEA 00FF47EC 
 XCEA 00FF47EC06:09:56.57 2023/03/21   
-10 PREFIX:  0120  DEBX 008AB070 LENGTH 11  AMTYPE 20   
TBLOF 0012(TIME AND DATE OPENED)   
+0  NMSUB 05  TCB8B11E0   AMLNG 10   DEBB   00   IRBAD 6800 
 PATB 1100 
+10 NMEXT 01  USRPB  00   ECBAD FD00 DCBAD  8F0AEA40 EXSCL 04   
 APPB 8AAD60   
+20 DVMOD 58  UCBA FB23B8 00  TRKHI 00   START  03160009   END 0001 
NMTRK 2000 
+30 ACC.METH: VOLSQ 0001  VOLNM 0001  DSNM  
BLKSI    LRECL 1040
+40 SUBROUTINES: VU V7 BK BA BB 
   
+4A         
   
***DCB AT LOCATION 0AEA40   (BSAM)  
DASD,RECFM=FBS 
+0  DCBE  000AED40 KEYCN 00 FDAD  00 0009 8B DVTBA 
E76026  
+10 KEYLE 00  DEVT 2F  TRBAL 7FFF   BUFCB 0001  BUFL DSORG 4000 
IOBAD 0001 
+20 EODAD 8601 RECFM 98 EXLST 0AEC7CTIOT 0418MACRF 2400 
IFLGS 00 DEBA  8AAD84  
+30 OFLGS 12  D6C978   OPTCD 00   BCD808IOBL 0A  SYNA  
090DA8   CIND     BLKSI 6180
+40 WCPO  30013030 IOBA  000C955C NCP 14   EOBRA CBD098  EOBW  
80CBD098 DIRCT    LRECL 1040
+54 POINT 00D68188  
   
EXIT LIST: 870AEC90 
   
**DCBE AT LOCATION 000AED40 
   
+0  IDC4C3C2C5   LEN  0038   DCB  000AEA40RELA  
   
+10 FLG1  C080   NSTR 0001   FLG3 A000  BLKSI8 

+20 XSIZ     EODA    SYNA  
   MULTACC 00   MULTSDN 0A  
IOBS ARE NUMBERED IN PHYSICAL ORDER.
   
***IOB 16 AT LOCATION 0C95B4(SAM, BPAM - NORMAL SCHEDULING) 
CE DE  
-10VIDAN LENRD NIOBA 000C95FC NECB 7F00 
   
+0 FLAG1 0200SENS  ECBPT 7F0D6EA4 CSW  000C95E4 
0C00   
+10START 000C95DCDCBPT 000AEA40RESTR INCAM  
  SEEK 098A
+28 060B7000 6180       
   
0D6EA4  DECB:  ECB 7F00  FLAGS 000D3000DCB   1D551F04 AREA C9C5C1E5 
  STATUS E7C3C6C5  
***IOB 17 AT LOCATION 0C9604(SAM, BPAM - NORMAL SCHEDULING) 
CE DE  
-10VIDAN LENRD 

Re: IPCS formatting of I/O control blocks

2023-04-27 Thread Seymour J Metz
I see TIOT (does that include XTIOT?) but not DCB, DECB or IOB, and I would 
have expected any new support for them to be via VERBEXIT.

Do you have a sample output? Thanks.


From: IBM Mainframe Discussion List  on behalf of Jim 
Mulder 
Sent: Thursday, April 27, 2023 2:41 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IPCS formatting of I/O control blocks

  Yes, Wayne Rhoten enhanced that a while back.  I don't remember
which release of z/OS, but I have gotten accustomed to seeing it
in the output from the SUMMARY FORMAT subcommand.

Jim Mulder

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Seymour J Metz
Sent: Thursday, April 27, 2023 8:28 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: IPCS formatting of I/O control blocks

The last time I looked, IPCS did not format, e.g., DCB, DECB, IOB. Has that 
changed?



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IPCS formatting of I/O control blocks

2023-04-27 Thread Jim Mulder
  Yes, Wayne Rhoten enhanced that a while back.  I don't remember
which release of z/OS, but I have gotten accustomed to seeing it 
in the output from the SUMMARY FORMAT subcommand.

Jim Mulder  

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Seymour J Metz
Sent: Thursday, April 27, 2023 8:28 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: IPCS formatting of I/O control blocks

The last time I looked, IPCS did not format, e.g., DCB, DECB, IOB. Has that 
changed?



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IPCS formatting of I/O control blocks

2023-04-27 Thread Binyamin Dissen
On Thu, 27 Apr 2023 12:28:18 + Seymour J Metz  wrote:

:>The last time I looked, IPCS did not format, e.g., DCB, DECB, IOB. Has that 
changed?

Doesn't appear so. Need to make the formatting blocks.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


IPCS formatting of I/O control blocks

2023-04-27 Thread Seymour J Metz
The last time I looked, IPCS did not format, e.g., DCB, DECB, IOB. Has that 
changed?



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread David Crayford

On 6/3/23 05:07, Tony Harminc wrote:

On Sun, 5 Mar 2023 at 08:32, David Crayford  wrote:

strfmon() should do the trick.
Sigh... Binary floating point for currencies. Doesn't end well. Even
Bitcoin et al expect correct decimal results.



Yep. C was never really used for writing business applications. As you 
mentioned bitcoin I checked for golang decimal support as HyperLedger is 
written in go. It's implemented using a library 
https://pkg.go.dev/github.com/shopspring/decimal#section-readme that 
looks similar to the Java BigDecimal class.


gcc and clang both support the N1312 draft of ISO/IEC WDTR24732 for 
decimal floating point. However, the runtime I/O functions don't so you 
need to use a library authored by IBM [1]. On platforms that don't 
support decimal floating point in hardware it's implemented using 
Cowlishaw's decNumber library.


[1] https://github.com/libdfp/libdfp




https://pubs.opengroup.org/onlinepubs/009604599/functions/strfmon.html


There seems to be a newer version at
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strfmon.html
Still binary FP though.

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread Charles Mills
Would be better, or a better alternative, to accept two integers with at least 
the first being 64-bits: the significant digits in one and the number of 
decimal places in the other; or alternatively the digits to the left in one and 
to the right in the other.

One of my very, very first programming experiences (1968 or so) was two friends 
who wrote an accounting system in PL/I (yes, 1968 or so) using floating point. 
Didn't end well.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Harminc
Sent: Sunday, March 5, 2023 1:08 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Common standard for number formatting equiv. to mainframe 
facilities?

On Sun, 5 Mar 2023 at 08:32, David Crayford  wrote:

strfmon() should do the trick.
>

Sigh... Binary floating point for currencies. Doesn't end well. Even Bitcoin et 
al expect correct decimal results.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread Tony Harminc
On Sun, 5 Mar 2023 at 08:32, David Crayford  wrote:

strfmon() should do the trick.
>

Sigh... Binary floating point for currencies. Doesn't end well. Even
Bitcoin et al expect correct decimal results.


> https://pubs.opengroup.org/onlinepubs/009604599/functions/strfmon.html


There seems to be a newer version at
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strfmon.html
Still binary FP though.

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread Rupert Reynolds
Thanks--that's interesting.

On Sun, 5 Mar 2023, 13:32 David Crayford,  wrote:

> strfmon() should do the trick.
>
> https://pubs.opengroup.org/onlinepubs/009604599/functions/strfmon.html
>
> > On 5 Mar 2023, at 4:06 am, Rupert Reynolds  wrote:
> >
> > To explain, I'm writing new PC code. I want the equivalent of EDMK in
> > (something like) snprintf() format strings to print numbers with optional
> > floating currency symbol and spaces/commas between thousands.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread David Crayford
strfmon() should do the trick. 

https://pubs.opengroup.org/onlinepubs/009604599/functions/strfmon.html

> On 5 Mar 2023, at 4:06 am, Rupert Reynolds  wrote:
> 
> To explain, I'm writing new PC code. I want the equivalent of EDMK in
> (something like) snprintf() format strings to print numbers with optional
> floating currency symbol and spaces/commas between thousands. (not
> forgetting n,nn,nn,nnn.nn style used in at least one country).
> 
> As far as I can see, snprintf() format strings can't handle it, but PL/I
> and even assembly (EDMK) make this easy.
> 
> Is there a common standard I should look at, please?
> 
> e.g. format 1234.56 with "$999,999,990.00"
> leads to "  $1,234.56".
> 
> I'm not going to be choosy about input data type--it's the presentation
> that matters and I'd rather not reinvent the wheel.
> 
> Any suggestions, please?
> 
> Roops
> 
>> On Sat, 4 Mar 2023, 18:39 Mike Schwab,  wrote:
>> 
>> 
>> https://www.researchgate.net/publication/342570694_Coupling_Facility_Configuration_Options_-_Updated_2020
>> 
>> CF is not counted on SCRT, shown on RMF reports.
>> Won't cost you on z/OS, may on some vendors.
>> 
>> Thin CFs go to enabled wait when work is completed, restart when
>> interrupt says there is work.
>> 
>> Estimate is 3% light sharing to 13% heaving sharing (of z/OS workload).
>> 
>> Thin CF would use internal links so no I/O overhead to another CPU.
>> 
>>> On Fri, Mar 3, 2023 at 9:35 PM Laurence Chiu  wrote:
>>> 
>>> The situation.
>>> 
>>> We share a couple of Z13's with another (larger client). Z13 B is where
>> we
>>> run our development LPARs and Z13 A is production.
>>> 
>>> For critical business reasons an online application on our production
>> LPAR
>>> needs to be highly available and that means in a parallel sysplex.  But
>> our
>>> outsourcer has told us it cannot be done for the following reasons
>> because
>>> there are no spare ICF engines on the host B - all are being used by
>> other
>>> CF instances, either to support production Sysplexes or development ones
>>> (not ours).
>>> 
>>> Host A does potentially have a spare ICF engine we could use to support a
>>> production parallel Sysplex but good practice does recommend you create a
>>> test one first of course.
>>> 
>>> I then asked the question, if host A has a spare ICF engine, can't it be
>>> used to support a CF to be used by the test Sysplex on B. I was advised
>>> this was not possible since there are no spare connections between host A
>>> and Host B (Infiniband possibly) so the Sysplex on B could not actually
>>> communicate with the CF on A.
>>> 
>>> Our requirement for the Sysplex is primarily to be able to share a VSAM
>>> dataset which is hit every time a transaction comes in with a peak of
>> about
>>> 99tps. So we would need VSAM RLS to share the dataset records between the
>>> two application instances. There is no DB2, CICS or IMS so I think the
>> only
>>> structures in the CF are those to support VSAM RLS, maybe some XCF
>>> structures and core systems.
>>> 
>>> Knowing that we would only bring up the test sysplex to make sure
>>> transactions routed correctly across the two LPARs and most of the time
>> we
>>> would have one member of the Sysplex off, I suggested that the test CF
>>> could be built using a CP.  To this suggestion I received the following
>>> (anti) advice
>>> - there would be MSU costs (we don't care since we think the MIPS load on
>>> the CF would be low). Plus we would ask that the CF be defined with
>> Dynamic
>>> Coupling Facility Dispatch and set DYNDISP=THIN. Since that CF is going
>> to
>>> be idling most of the time, MSU consumption is not going to be a major
>> cost.
>>> - it's strongly recommended not to do this by IBM. Yet when I read this
>>> document
>>> 
>>> https://www.ibm.com/downloads/cas/JZB2E38Q
>>> the option is discussed in great detail and the only negatives are the
>>> incurring of MSU costs and some performance degradation if both a z/OS
>> and
>>> CF LPAR are trying to use the same CP at the same time.  But this can be
>>> managed.
>>> 
>>> - that a CF running on a CP would need a dedicated CP engine and there
>> are
>>> no spare engines in host B. That totally flies against the information I
>>> have read from IBM docs.
>>> 
>>> Of course for production the CF on host A would be configured to use an
>> ICF
>>> engine (or share one)
>>> 
>>> Finally, while I accepted the argument at the time there were no
>>> connections between Host A and Host B, further reading suggests that you
>> do
>>> not need to dedicate channels for communications but use XCF or by using
>>> Infiniband sub channels or sharing the same physical link with more than
>>> one Sysplex. Then the issue of running the CF on a CP goes away since I
>> can
>>> ask for two CF's to be defined on host A, one for production and one for
>>> test and DCFC ensures that that production CF is not impacted by the
>>> development one.
>>> 
>>> A lot to digest here but I really want to have some 

Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread Rupert Reynolds
(sorry about quoting a different thread, BTW)

That's a thought. Thanks.

I had my PL/I experience in mind, and thought it's a bit niche. But Cobol's
facilities look /very/ similar :-)

Thanks again.

Roops



On Sun, 5 Mar 2023, 11:07 Binyamin Dissen, 
wrote:

> A COBOL picture string would probably be the most understood and complete.
>
> On Sat, 4 Mar 2023 20:06:43 + Rupert Reynolds 
> wrote:
>
> :>To explain, I'm writing new PC code. I want the equivalent of EDMK in
> :>(something like) snprintf() format strings to print numbers with optional
> :>floating currency symbol and spaces/commas between thousands. (not
> :>forgetting n,nn,nn,nnn.nn style used in at least one country).
> :>
> :>As far as I can see, snprintf() format strings can't handle it, but PL/I
> :>and even assembly (EDMK) make this easy.
> :>
> :>Is there a common standard I should look at, please?
> :>
> :>e.g. format 1234.56 with "$999,999,990.00"
> :>leads to "  $1,234.56".
> :>
> :>I'm not going to be choosy about input data type--it's the presentation
> :>that matters and I'd rather not reinvent the wheel.
> :>
> :>Any suggestions, please?
> :>
> :>Roops
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Common standard for number formatting equiv. to mainframe facilities?

2023-03-05 Thread Binyamin Dissen
A COBOL picture string would probably be the most understood and complete.

On Sat, 4 Mar 2023 20:06:43 + Rupert Reynolds  wrote:

:>To explain, I'm writing new PC code. I want the equivalent of EDMK in
:>(something like) snprintf() format strings to print numbers with optional
:>floating currency symbol and spaces/commas between thousands. (not
:>forgetting n,nn,nn,nnn.nn style used in at least one country).
:>
:>As far as I can see, snprintf() format strings can't handle it, but PL/I
:>and even assembly (EDMK) make this easy.
:>
:>Is there a common standard I should look at, please?
:>
:>e.g. format 1234.56 with "$999,999,990.00"
:>leads to "  $1,234.56".
:>
:>I'm not going to be choosy about input data type--it's the presentation
:>that matters and I'd rather not reinvent the wheel.
:>
:>Any suggestions, please?
:>
:>Roops
:>
:>On Sat, 4 Mar 2023, 18:39 Mike Schwab,  wrote:
:>
:>>
:>> 
https://www.researchgate.net/publication/342570694_Coupling_Facility_Configuration_Options_-_Updated_2020
:>>
:>> CF is not counted on SCRT, shown on RMF reports.
:>> Won't cost you on z/OS, may on some vendors.
:>>
:>> Thin CFs go to enabled wait when work is completed, restart when
:>> interrupt says there is work.
:>>
:>> Estimate is 3% light sharing to 13% heaving sharing (of z/OS workload).
:>>
:>> Thin CF would use internal links so no I/O overhead to another CPU.
:>>
:>> On Fri, Mar 3, 2023 at 9:35?PM Laurence Chiu  wrote:
:>> >
:>> > The situation.
:>> >
:>> > We share a couple of Z13's with another (larger client). Z13 B is where
:>> we
:>> > run our development LPARs and Z13 A is production.
:>> >
:>> > For critical business reasons an online application on our production
:>> LPAR
:>> > needs to be highly available and that means in a parallel sysplex.  But
:>> our
:>> > outsourcer has told us it cannot be done for the following reasons
:>> because
:>> > there are no spare ICF engines on the host B - all are being used by
:>> other
:>> > CF instances, either to support production Sysplexes or development ones
:>> > (not ours).
:>> >
:>> > Host A does potentially have a spare ICF engine we could use to support a
:>> > production parallel Sysplex but good practice does recommend you create a
:>> > test one first of course.
:>> >
:>> > I then asked the question, if host A has a spare ICF engine, can't it be
:>> > used to support a CF to be used by the test Sysplex on B. I was advised
:>> > this was not possible since there are no spare connections between host A
:>> > and Host B (Infiniband possibly) so the Sysplex on B could not actually
:>> > communicate with the CF on A.
:>> >
:>> > Our requirement for the Sysplex is primarily to be able to share a VSAM
:>> > dataset which is hit every time a transaction comes in with a peak of
:>> about
:>> > 99tps. So we would need VSAM RLS to share the dataset records between the
:>> > two application instances. There is no DB2, CICS or IMS so I think the
:>> only
:>> > structures in the CF are those to support VSAM RLS, maybe some XCF
:>> > structures and core systems.
:>> >
:>> > Knowing that we would only bring up the test sysplex to make sure
:>> > transactions routed correctly across the two LPARs and most of the time
:>> we
:>> > would have one member of the Sysplex off, I suggested that the test CF
:>> > could be built using a CP.  To this suggestion I received the following
:>> > (anti) advice
:>> > - there would be MSU costs (we don't care since we think the MIPS load on
:>> > the CF would be low). Plus we would ask that the CF be defined with
:>> Dynamic
:>> > Coupling Facility Dispatch and set DYNDISP=THIN. Since that CF is going
:>> to
:>> > be idling most of the time, MSU consumption is not going to be a major
:>> cost.
:>> > - it's strongly recommended not to do this by IBM. Yet when I read this
:>> > document
:>> >
:>> > https://www.ibm.com/downloads/cas/JZB2E38Q
:>> > the option is discussed in great detail and the only negatives are the
:>> > incurring of MSU costs and some performance degradation if both a z/OS
:>> and
:>> > CF LPAR are trying to use the same CP at the same time.  But this can be
:>> > managed.
:>> >
:>> > - that a CF running on a CP would need a dedicated CP engine and there
:>> are
:>> > no spare engines in host B. That totally flies against the information I
:>> > have read from IBM docs.
:>> >
:>> > Of course for production the CF on host A would be configured to use an
:>> ICF
:>> > engine (or share one)
:>> >
:>> > Finally, while I accepted the argument at the time there were no
:>> > connections between Host A and Host B, further reading suggests that you
:>> do
:>> > not need to dedicate channels for communications but use XCF or by using
:>> > Infiniband sub channels or sharing the same physical link with more than
:>> > one Sysplex. Then the issue of running the CF on a CP goes away since I
:>> can
:>> > ask for two CF's to be defined on host A, one for production and one for
:>> > test and DCFC ensures that that production CF 

Common standard for number formatting equiv. to mainframe facilities?

2023-03-04 Thread Rupert Reynolds
To explain, I'm writing new PC code. I want the equivalent of EDMK in
(something like) snprintf() format strings to print numbers with optional
floating currency symbol and spaces/commas between thousands. (not
forgetting n,nn,nn,nnn.nn style used in at least one country).

As far as I can see, snprintf() format strings can't handle it, but PL/I
and even assembly (EDMK) make this easy.

Is there a common standard I should look at, please?

e.g. format 1234.56 with "$999,999,990.00"
leads to "  $1,234.56".

I'm not going to be choosy about input data type--it's the presentation
that matters and I'd rather not reinvent the wheel.

Any suggestions, please?

Roops

On Sat, 4 Mar 2023, 18:39 Mike Schwab,  wrote:

>
> https://www.researchgate.net/publication/342570694_Coupling_Facility_Configuration_Options_-_Updated_2020
>
> CF is not counted on SCRT, shown on RMF reports.
> Won't cost you on z/OS, may on some vendors.
>
> Thin CFs go to enabled wait when work is completed, restart when
> interrupt says there is work.
>
> Estimate is 3% light sharing to 13% heaving sharing (of z/OS workload).
>
> Thin CF would use internal links so no I/O overhead to another CPU.
>
> On Fri, Mar 3, 2023 at 9:35 PM Laurence Chiu  wrote:
> >
> > The situation.
> >
> > We share a couple of Z13's with another (larger client). Z13 B is where
> we
> > run our development LPARs and Z13 A is production.
> >
> > For critical business reasons an online application on our production
> LPAR
> > needs to be highly available and that means in a parallel sysplex.  But
> our
> > outsourcer has told us it cannot be done for the following reasons
> because
> > there are no spare ICF engines on the host B - all are being used by
> other
> > CF instances, either to support production Sysplexes or development ones
> > (not ours).
> >
> > Host A does potentially have a spare ICF engine we could use to support a
> > production parallel Sysplex but good practice does recommend you create a
> > test one first of course.
> >
> > I then asked the question, if host A has a spare ICF engine, can't it be
> > used to support a CF to be used by the test Sysplex on B. I was advised
> > this was not possible since there are no spare connections between host A
> > and Host B (Infiniband possibly) so the Sysplex on B could not actually
> > communicate with the CF on A.
> >
> > Our requirement for the Sysplex is primarily to be able to share a VSAM
> > dataset which is hit every time a transaction comes in with a peak of
> about
> > 99tps. So we would need VSAM RLS to share the dataset records between the
> > two application instances. There is no DB2, CICS or IMS so I think the
> only
> > structures in the CF are those to support VSAM RLS, maybe some XCF
> > structures and core systems.
> >
> > Knowing that we would only bring up the test sysplex to make sure
> > transactions routed correctly across the two LPARs and most of the time
> we
> > would have one member of the Sysplex off, I suggested that the test CF
> > could be built using a CP.  To this suggestion I received the following
> > (anti) advice
> > - there would be MSU costs (we don't care since we think the MIPS load on
> > the CF would be low). Plus we would ask that the CF be defined with
> Dynamic
> > Coupling Facility Dispatch and set DYNDISP=THIN. Since that CF is going
> to
> > be idling most of the time, MSU consumption is not going to be a major
> cost.
> > - it's strongly recommended not to do this by IBM. Yet when I read this
> > document
> >
> > https://www.ibm.com/downloads/cas/JZB2E38Q
> > the option is discussed in great detail and the only negatives are the
> > incurring of MSU costs and some performance degradation if both a z/OS
> and
> > CF LPAR are trying to use the same CP at the same time.  But this can be
> > managed.
> >
> > - that a CF running on a CP would need a dedicated CP engine and there
> are
> > no spare engines in host B. That totally flies against the information I
> > have read from IBM docs.
> >
> > Of course for production the CF on host A would be configured to use an
> ICF
> > engine (or share one)
> >
> > Finally, while I accepted the argument at the time there were no
> > connections between Host A and Host B, further reading suggests that you
> do
> > not need to dedicate channels for communications but use XCF or by using
> > Infiniband sub channels or sharing the same physical link with more than
> > one Sysplex. Then the issue of running the CF on a CP goes away since I
> can
> > ask for two CF's to be defined on host A, one for production and one for
> > test and DCFC ensures that that production CF is not impacted by the
> > development one.
> >
> > A lot to digest here but I really want to have some authoritative data in
> > order to refute most of the comments being our outsourcer.
> >
> > Thanks
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send 

Re: DFSORT OUTREC conditional formatting

2023-01-26 Thread Radoslaw Skorupka

W dniu 25.01.2023 o 23:35, Sri h Kolusu pisze:

Depending on the field 23,2 we have word ALTER/READ in the report.

However the field contain other values, let's say X'1101' which should be 
translated to C'CHANGE'... but this record type implies slightly different 
format. For X'1101' I should use
HEADER('DESC3') ON(175,8,CH) -   note, 188->175 and
HEADER('DESC4') ON(189,8,CH)- that fiel can be empty for X'', X'0001', 
X'0002'


Radoslaw,

It is quite simple as CHANGE has more capability. You can pick and choose the 
values based on the value.  So, use the following control cards.  Note :  I 
left the include condition of RDW check as is. You can change it if you want to 
accommodate the additional description.

//TOOLIN   DD *
   COPY FROM(INPUT) TO(TMP) USING(ABCD)
   DISPLAY FROM(TMP) LIST(REPORT) -
   HEADER('CODE ') ON(001,8,CH)   -
   HEADER('DESC1') ON(009,8,CH)   -
   HEADER('DESC2') ON(017,8,CH)   -
   HEADER('DESC3') ON(025,8,CH)   -
   HEADER('DESC4') ON(033,8,CH)   -
   BLANK
/*
//ABCDCNTL DD *
   INCLUDE COND=(1,2,BI,GE,188)
   OUTFIL VTOF,
  BUILD=(023,2,CHANGE=(8,X'',C'ALTER   ',
 X'0001',C'READ',
 X'0002',C'UPDATE  ',
 X'1101',C'CHANGE  '),
  NOMATCH=(C'ERROR   '),
  101,08,
  109,08,

* If position 23 has x'1101' then pick the contents at 175 *
* for a length of 8 bytes and for all other values pick*
* the contents at 181 for a length of 8 bytes  *

  23,02,CHANGE=(8,X'1101',175,8),
  NOMATCH=(181,8),


* If position 23 has x'1101' then pick the contents at 189 *
* for a length of 8 bytes and for all other values space   *
* it out.  *

  23,02,CHANGE=(8,X'1101',189,8),
  NOMATCH=(C' '))

/*


And the sample report looks like this

CODE   DESC1  DESC2  DESC3  DESC4
            
ALTER  AAA0   BBB0   CCC0
READ   AAA1   BBB1   CCC1
UPDATE AAA2   BBB2   CCC2
CHANGE AAA3   BBB3   DDD3   EEE3
ERROR  AAA4   BBB4   CCC4


Further if you have any questions, please let me know


Sri,
Indeed, now it is simple, after you explained it. Thank you for the 
explanation. I appreciate it.

I like DFSORT, it is really powerful tool!

Regards
--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DFSORT OUTREC conditional formatting

2023-01-25 Thread Sri h Kolusu
>> Depending on the field 23,2 we have word ALTER/READ in the report.
However the field contain other values, let's say X'1101' which should be 
translated to C'CHANGE'... but this record type implies slightly different 
format. For X'1101' I should use
HEADER('DESC3') ON(175,8,CH) -   note, 188->175 and
HEADER('DESC4') ON(189,8,CH)- that fiel can be empty for X'', X'0001', 
X'0002'


Radoslaw,

It is quite simple as CHANGE has more capability. You can pick and choose the 
values based on the value.  So, use the following control cards.  Note :  I 
left the include condition of RDW check as is. You can change it if you want to 
accommodate the additional description.

//TOOLIN   DD *
  COPY FROM(INPUT) TO(TMP) USING(ABCD)
  DISPLAY FROM(TMP) LIST(REPORT) -
  HEADER('CODE ') ON(001,8,CH)   -
  HEADER('DESC1') ON(009,8,CH)   -
  HEADER('DESC2') ON(017,8,CH)   -
  HEADER('DESC3') ON(025,8,CH)   -
  HEADER('DESC4') ON(033,8,CH)   -
  BLANK
/*
//ABCDCNTL DD *
  INCLUDE COND=(1,2,BI,GE,188)
  OUTFIL VTOF,
 BUILD=(023,2,CHANGE=(8,X'',C'ALTER   ',
X'0001',C'READ',
X'0002',C'UPDATE  ',
X'1101',C'CHANGE  '),
 NOMATCH=(C'ERROR   '),
 101,08,
 109,08,

* If position 23 has x'1101' then pick the contents at 175 *
* for a length of 8 bytes and for all other values pick*
* the contents at 181 for a length of 8 bytes  *

 23,02,CHANGE=(8,X'1101',175,8),
 NOMATCH=(181,8),


* If position 23 has x'1101' then pick the contents at 189 *
* for a length of 8 bytes and for all other values space   *
* it out.  *

 23,02,CHANGE=(8,X'1101',189,8),
 NOMATCH=(C' '))

/*


And the sample report looks like this

CODE   DESC1  DESC2  DESC3  DESC4
            
ALTER  AAA0   BBB0   CCC0
READ   AAA1   BBB1   CCC1
UPDATE AAA2   BBB2   CCC2
CHANGE AAA3   BBB3   DDD3   EEE3
ERROR  AAA4   BBB4   CCC4


Further if you have any questions, please let me know

Thanks,
Kolusu
DFSORT Development
IBM Corporation



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DFSORT OUTREC conditional formatting

2023-01-25 Thread Radoslaw Skorupka

W dniu 24.01.2023 o 22:52, Sri h Kolusu pisze:

The following scenario:  Input file VB. At offset 23 (RDW included) 2-byte 
field Other relevant fields are 101,8  109,8  181,8 No sort needed.

Radoslaw,

Use the following control cards which will give you the desired results. I 
optimized the job a bit to include records that have a minimum length of 188 
which is the last position of the field you are interested.

//TOOLIN   DD *
   COPY FROM(INPUT) TO(TMP) USING(ABCD)
   DISPLAY FROM(TMP) LIST(REPORT) -
   HEADER('CODE ') ON(001,8,CH)   -
   HEADER('DESC1') ON(009,8,CH)   -
   HEADER('DESC2') ON(017,8,CH)   -
   HEADER('DESC3') ON(025,8,CH)   -
   BLANK
/*
//ABCDCNTL DD *
   INCLUDE COND=(1,2,BI,GE,188)
   OUTFIL VTOF,
  BUILD=(023,2,CHANGE=(8,X'',C'ALTER   ',
 X'0001',C'READ',
 X'0002',C'UPDATE  '),
  NOMATCH=(C'ERROR   '),
  101,08,
  109,08,
  181,08)
/*



Thank you Sri.
Nice trick with record length (1,2,BI...) I have to remember about it.

I have another problem to solve:
Depending on the field 23,2 we have word ALTER/READ in the report. 
However the field contain other values, let's say X'1101' which should 
be translated to C'CHANGE'... but this record type implies slightly 
different format. For X'1101' I should use

HEADER('DESC3') ON(175,8,CH) -   note, 188->175
and
HEADER('DESC4') ON(189,8,CH)    - that fiel can be empty for X'', 
X'0001', X'0002'


In other words different column taken  to the report, depending on value 
in the field 23,2. Is it possible?
Currently I simply have two separate reports, which is a little bit 
error-prone. Before the above solution there were 4 separate reports, so 
there is some progress. :-)



--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DFSORT OUTREC conditional formatting

2023-01-24 Thread Sri h Kolusu
>> The following scenario:  Input file VB. At offset 23 (RDW included) 2-byte 
>> field Other relevant fields are 101,8  109,8  181,8 No sort needed.

Radoslaw,

Use the following control cards which will give you the desired results. I 
optimized the job a bit to include records that have a minimum length of 188 
which is the last position of the field you are interested.

//TOOLIN   DD *
  COPY FROM(INPUT) TO(TMP) USING(ABCD)
  DISPLAY FROM(TMP) LIST(REPORT) -
  HEADER('CODE ') ON(001,8,CH)   -
  HEADER('DESC1') ON(009,8,CH)   -
  HEADER('DESC2') ON(017,8,CH)   -
  HEADER('DESC3') ON(025,8,CH)   -
  BLANK
/*
//ABCDCNTL DD *
  INCLUDE COND=(1,2,BI,GE,188)
  OUTFIL VTOF,
 BUILD=(023,2,CHANGE=(8,X'',C'ALTER   ',
X'0001',C'READ',
X'0002',C'UPDATE  '),
 NOMATCH=(C'ERROR   '),
 101,08,
 109,08,
 181,08)
/*

Thanks,
Kolusu
DFSORT Development
IBM Corporation



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DFSORT OUTREC conditional formatting

2023-01-24 Thread Steve Smith
On Tue, Jan 24, 2023 at 4:08 PM Radoslaw Skorupka <
0471ebeac275-dmarc-requ...@listserv.ua.edu> wrote:

> ...
> I tried the following ABCDCNTL statement:
> RECORD TYPE=V,LENGTH=(,,,50)
> OUTREC FIELDS=(1,22,23,1,CHANGE=(8,
> X'0001',C'READ' ...
> and the above caused ICE111A error.
> However I changed it to the following:
> RECORD TYPE=V,LENGTH=(,,,50)
> OUTREC FIELDS=(1,22,24,1,CHANGE=(8,
> X'01',C'READ' ...
> and now it works. Note, the change X'0001' to X'01' and 1,22,23,1 to
> 1,22,24,1
> It seems I should specify 1,22,23,2 for X'0001' - the last 2 is length
> of change field.
>
Looks like it... did you try it?  Note: it is not what your first example
shows.

sas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DFSORT OUTREC conditional formatting

2023-01-24 Thread Radoslaw Skorupka

Update inline


W dniu 24.01.2023 o 20:39, Radoslaw Skorupka pisze:

The following scenario:
Input file VB.
At offset 23 (RDW included) 2-byte field
Other relevant fields are 101,8  109,8  181,8
No sort needed.

ICETOOL TOOLIN:
COPY FROM(INPUT) TO(TMP) USING(ABCD)
DISPLAY FROM(TMP) LIST(REPORT) -
HEADER('desc1') ON(101,8,CH) -
HEADER('desc2') ON(109,8,CH) -
HEADER('desc3') ON(181,8,CH) -
BLANK

//ABCDCNTL DD *
 OPTION COPY,VLSHRT

Now the problem:
I want to add new column to the report.  The value depend on 23,2 
field content:

field  text in report
X''  -> C'ALTER   '
X'0001' -> C'READ    '
X'0002' -> C'UPDATE  '
any other -> C'ERROR   '

I tried with OUTREC FIELD=(... CHANGE=(...)) with no effect (excluding 
various error codes).

Or maybe I should not change ABCDCNTL, rather modify TOOLIN instead?


I tried the following ABCDCNTL statement:
RECORD TYPE=V,LENGTH=(,,,50)
OUTREC FIELDS=(1,22,23,1,CHANGE=(8,
X'0001',C'READ    ' ...
and the above caused ICE111A error.
However I changed it to the following:
RECORD TYPE=V,LENGTH=(,,,50)
OUTREC FIELDS=(1,22,24,1,CHANGE=(8,
X'01',C'READ    ' ...
and now it works. Note, the change X'0001' to X'01' and 1,22,23,1 to 
1,22,24,1
It seems I should specify 1,22,23,2 for X'0001' - the last 2 is length 
of change field.



--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


DFSORT OUTREC conditional formatting

2023-01-24 Thread Radoslaw Skorupka

The following scenario:
Input file VB.
At offset 23 (RDW included) 2-byte field
Other relevant fields are 101,8  109,8  181,8
No sort needed.

ICETOOL TOOLIN:
COPY FROM(INPUT) TO(TMP) USING(ABCD)
DISPLAY FROM(TMP) LIST(REPORT) -
HEADER('desc1') ON(101,8,CH) -
HEADER('desc2') ON(109,8,CH) -
HEADER('desc3') ON(181,8,CH) -
BLANK

//ABCDCNTL DD *
 OPTION COPY,VLSHRT

Now the problem:
I want to add new column to the report.  The value depend on 23,2 field 
content:

field  text in report
X''  -> C'ALTER   '
X'0001' -> C'READ    '
X'0002' -> C'UPDATE  '
any other -> C'ERROR   '

I tried with OUTREC FIELD=(... CHANGE=(...)) with no effect (excluding 
various error codes).

Or maybe I should not change ABCDCNTL, rather modify TOOLIN instead?


--
Radoslaw Skorupka
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-02 Thread Paul Gilmartin
On Tue, 2 Nov 2021 09:33:28 -0700, Charles Mills wrote:

>Everything I write from my Samsung e-mail clients is similarly flowed. We 
>kicked this around a couple of months ago. @Phil Smith analyzed what exactly 
>was happening.
>
Can you supply details or a citation (List; Date; Subject; or URL)?
Perhaps even a solution or circumvention for Joseph, Eric, et al.?

>I will send an example right behind this one. (This is from an ancient Outlook 
>running on Windows.)
> 
I see it.

Thanks,
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-02 Thread Charles Mills
Sent from Samsung Android email client and probably will be mangled. Looks good 
on the client before I hit Send! CharlesSent from a mobile; please excuse the 
brevity.
 Original message From: Paul Gilmartin 
<000433f07816-dmarc-requ...@listserv.ua.edu> Date: 11/2/21  9:05 AM  
(GMT-08:00) To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help Hi, 
Bob,On Tue, 2 Nov 2021 09:45:03 -0600, Bob Raicer wrote:>How about putting your 
assembler listing file, your job log, and any>other relevant (perhaps 
annotated) info into a single file (a zip>file as a container would be fine) > 
One other ply, this morrning from On Tue, 2 Nov 2021 03:48:36 +, Eric D 
Rossman,was similarly adversely flowed.  I haven't recognized any commonality.I 
have a Rexx program which uses the SDSF API to fetch *all* spoolfiles of a job 
into different members, job/step/procstep/dd of a tempOMVS directory and "pax 
-wzf //some.data.set .">    ... and plop it onto an easily>accessible site 
(examples:  DropBox, Google Drive) and post the link>in your message on this 
forum.  It keeps your message on the forum>simple plain text and it would be 
very easy for those of us willing>to try to help you to do just that.-- 
gil--For 
IBM-MAIN subscribe / signoff / archive access instructions,send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-02 Thread Charles Mills
Everything I write from my Samsung e-mail clients is similarly flowed. We 
kicked this around a couple of months ago. @Phil Smith analyzed what exactly 
was happening.

I will send an example right behind this one. (This is from an ancient Outlook 
running on Windows.)

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Tuesday, November 2, 2021 9:06 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: formatting help

Hi, Bob,

On Tue, 2 Nov 2021 09:45:03 -0600, Bob Raicer wrote:

>How about putting your assembler listing file, your job log, and any
>other relevant (perhaps annotated) info into a single file (a zip
>file as a container would be fine) 
> 
One other ply, this morrning from On Tue, 2 Nov 2021 03:48:36 +, Eric D 
Rossman,
was similarly adversely flowed.  I haven't recognized any commonality.

I have a Rexx program which uses the SDSF API to fetch *all* spool
files of a job into different members, job/step/procstep/dd of a temp
OMVS directory and "pax -wzf //some.data.set ."

>... and plop it onto an easily
>accessible site (examples:  DropBox, Google Drive) and post the link
>in your message on this forum.  It keeps your message on the forum
>simple plain text and it would be very easy for those of us willing
>to try to help you to do just that.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-02 Thread Paul Gilmartin
Hi, Bob,

On Tue, 2 Nov 2021 09:45:03 -0600, Bob Raicer wrote:

>How about putting your assembler listing file, your job log, and any
>other relevant (perhaps annotated) info into a single file (a zip
>file as a container would be fine) 
> 
One other ply, this morrning from On Tue, 2 Nov 2021 03:48:36 +, Eric D 
Rossman,
was similarly adversely flowed.  I haven't recognized any commonality.

I have a Rexx program which uses the SDSF API to fetch *all* spool
files of a job into different members, job/step/procstep/dd of a temp
OMVS directory and "pax -wzf //some.data.set ."

>... and plop it onto an easily
>accessible site (examples:  DropBox, Google Drive) and post the link
>in your message on this forum.  It keeps your message on the forum
>simple plain text and it would be very easy for those of us willing
>to try to help you to do just that.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-02 Thread Bob Raicer

How about putting your assembler listing file, your job log, and any
other relevant (perhaps annotated) info into a single file (a zip
file as a container would be fine) and plop it onto an easily
accessible site (examples:  DropBox, Google Drive) and post the link
in your message on this forum.  It keeps your message on the forum
simple plain text and it would be very easy for those of us willing
to try to help you to do just that.

Bob

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-11-01 Thread Paul Gilmartin
On Sun, 31 Oct 2021 18:55:41 -0400, Joseph Reichman wrote:

>Paul At this point I'll try anything as I am still getting an 806 after
[appending]
-- gil


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Peter Vels
copy con: file.txt

Ctrl-Z
1 file(s) copied.

On Mon, 1 Nov 2021 at 10:48, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 31 Oct 2021 16:20:10 -0700, Tom Brennan wrote:
> >
> >Vista puts nothing but straight text with CRLF's into the clipboard.
> >It's up to the email client to decide what to do with it.
> >
> Thanks.
>
> Is there a Windows command make a file from the clipboard content
> without any editor's possible meddling?
>
> On Linux, I'd
> cat >file.txt
> 
> Ctrl-D
>
> (OK.  That is still filtered by cooking terminal input, at least to
> interpret
> the CTRL-D.)
>
> On Mac, even more straightforward:
> pbpaste >file.txt
>
> Verify the appearance of file.txt, then attach file.txt, one of two
> filetypes that LISTSERV tolerates.
>
> -- gil
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Paul Gilmartin
On Sun, 31 Oct 2021 16:20:10 -0700, Tom Brennan wrote:
>
>Vista puts nothing but straight text with CRLF's into the clipboard.
>It's up to the email client to decide what to do with it.
>
Thanks.

Is there a Windows command make a file from the clipboard content
without any editor's possible meddling?

On Linux, I'd
cat >file.txt

Ctrl-D

(OK.  That is still filtered by cooking terminal input, at least to interpret
the CTRL-D.)

On Mac, even more straightforward:
pbpaste >file.txt

Verify the appearance of file.txt, then attach file.txt, one of two
filetypes that LISTSERV tolerates.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Tom Brennan

On 10/31/2021 3:34 PM, Paul Gilmartin wrote:

Looks good on both mail client and LISTSERV web.  Apparently you
know better than Tom how to deal with Vista.


Vista puts nothing but straight text with CRLF's into the clipboard. 
It's up to the email client to decide what to do with it.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
Paul At this point I'll try anything as I am still getting an 806 after
using LSEARCH=YES Need to post my code and output By looking at the outlook
option if I compose a new e-mail from scratch I can choose my format I would
typically use RTF and for the code use courier new I believe if I start a
brand new thread I shouldn't have the line wrap problem Thank -Original
Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin
Sent: Sunday, October 31, 2021 6:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject:
Re: formatting help On Sun, 31 Oct 2021 16:19:58 -0400, David Spiegel wrote:
> >If all else fails, maybe you should make a PDF document out of your
>MS-Word document and send it as an attachment? > Nope. Have you tried it?
Maybe HTML. Did he say it was MS-Word? That would be his first mistake.
 On Sun, 31 Oct 2021
13:08:23 -0700, Tom Brennan wrote: >Here's a screen I just copy/pasted into
the Thunderbird email client. >Before sending I see each line separated
correctly, however the longer >lines wrap around. That could be just local
and they may not wrap >after emailing. Let's see... Had: MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed Content-Language:
en-US Content-Transfer-Encoding: 7bit Looked great with email client;
wrapped and double-spaced on LISTSRRV web.
 On Sun, 31 Oct 2021
14:32:38 -0700, Charles Mills wrote: >Basic cut and paste from Vista to
Outlook seems to work pretty well: Had: MIME-Version: 1.0 Content-Type:
text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Looks good on both mail client and LISTSERV web. Apparently you know better
than Tom how to deal with Vista. -- gil
-- For
IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee
and confirmed virus-free. Find out more here: https://bit.ly/2zCJMrO

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Paul Gilmartin
On Sun, 31 Oct 2021 16:19:58 -0400, David Spiegel wrote:
>
>If all else fails, maybe you should make a PDF document out of your
>MS-Word document and send it as an attachment?
> 
Nope.  Have you tried it?  Maybe HTML.

Did he say it was MS-Word?  That would be his first mistake.


On Sun, 31 Oct 2021 13:08:23 -0700, Tom Brennan  wrote:

>Here's a screen I just copy/pasted into the Thunderbird email client.
>Before sending I see each line separated correctly, however the longer
>lines wrap around.  That could be just local and they may not wrap after
>emailing.  Let's see...

Had:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit

Looked great with email client; wrapped and double-spaced on LISTSRRV web.


On Sun, 31 Oct 2021 14:32:38 -0700, Charles Mills wrote:

>Basic cut and paste from Vista to Outlook seems to work pretty well:

Had:
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Looks good on both mail client and LISTSERV web.  Apparently you
know better than Tom how to deal with Vista.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help -- Copy from Vista

2021-10-31 Thread Charles Mills
Basic cut and paste from Vista to Outlook seems to work pretty well:

===    ==   ==  
===   ==   === ===  
  ===   ===  ==   ==
  ===   ==== ===
  ===   ==   === ===
  ===   ===  ===  =  ===
===   ==   =   ===   =  
===    ===  
 Welcome to the IBM Z Dallas ISV Center 
   z/OS TN3270-TLS1.2   
  for Help follow directions on web page:   
http://dtsc.dfw.ibm.com/contact.html

IBM's internal systems must only be used for conducting 
IBM's business or for purposes authorized by IBM
management. 
Use is subject to audit at any time by IBM management.  

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Sunday, October 31, 2021 11:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: formatting help -- Copy from Vista

On Sun, 31 Oct 2021 14:07:25 -0400, Joseph Reichman wrote:

>Have a visita 3270 
> 
"visita"?  "Vista"?  Whatever.

Are there Vista option(s) which control formatting on Copy?  Which have
you specified?  (You'll probably get many suggestions here; Vista is
popular.)

>When I originally responded to Peter Relson 
>I noticed in outlook sent it was a big jumble 
>
Did you paste into GMail web interface?  GMail app?  Outlook?  Other (specify)?

If you paste into Notepad; Wordpad; Notepad++; ... is the formatting OK?  Will 
those
tools tell you what line end option is in effect?  Can you change it?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
Thanks now that I think about it all my responses came from iPhone whatever
the default mail client is Just today when I was showing my code I went back
to outlook -Original Message- From: IBM Mainframe Discussion List On
Behalf Of David Spiegel Sent: Sunday, October 31, 2021 4:20 PM To:
IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help Hi Joe, If all else
fails, maybe you should make a PDF document out of your MS-Word document and
send it as an attachment? Regards, David On 2021-10-31 16:15, Joseph
Reichman wrote: > Before I send it looks okay I have outlook I went to file
-> options > -> mail it has options for compose However when I did a google
for > "reply to" for outlook the response I got back Was that if you are >
replying and the message you replying is in one format say RTF or HTML >
outlook cann't change your reply to plain text -Original > Message-
From: IBM Mainframe Discussion List On Behalf Of Tom > Brennan Sent: Sunday,
October 31, 2021 4:08 PM To: > IBM-MAIN@LISTSERV.UA.EDU Subject: Re:
formatting help Here's a screen > I just copy/pasted into the Thunderbird
email client. Before sending I > see each line separated correctly, however
the longer lines wrap around. That could be just local and they may not wrap
after emailing. Let's see... > Log/List Function keys Colors Environ
Identifier Help >
-- >
-- > -- CBT ISPF Settings Command ===> Options Print Graphics Enter "/"
to > select option Family printer type 2 Command line at bottom Device name
. . . . > Panel display CUA mode Aspect ratio . . . 0 Long message in pop-up
Tab > to action bar choices Tab to point-and-shoot fields General / Restore
> TEST/TRACE options Input field pad . . N / Session Manager mode > Command
delimiter . ; / Jump from leader dots Edit PRINTDS Command > Always show
split line Enable EURO sign Member list options Enter "/" > to select option
/ Scroll member list Allow empty member list Allow > empty member list
(nomatch) / Empty member list for edit only Terminal > Characteristics
Screen format 3 1. Data 2. Std 3. Max 4. Part Terminal Type 3 1. 3277 2.
3277A 3. 3278 4. > 3278A 5. 3290A 6. 3278T 7. 3278CF 8. 3277KN 9. 3278KN 10.
3278AR 11. > 3278CY 12. 3278HN 13. 3278HO 14. 3278IS 15. 3278L2 16. BE163
17. BE190 > 18. 3278TH 19. 3278CU 20. DEU78 21. DEU78A 22. DEU78T 23. DEU90A
24. > SW116 25. SW131 26. SW500 27. 3278GR 28. 3278L1 29. OTHER On >
10/31/2021 11:07 AM, Joseph Reichman wrote: > Have a visita 3270 > > > When
I originally responded to Peter Relson I noticed in outlook sent > > it was
a big jumble > > I then cut then entire response and just hit > to break the
> lines > > When done I did a sent it > > But then I > noticed once again it
was jumbled > > This time I did the same from > outlook cookies the text
from sent > folder without rtf format still > came out one big line when I
looked in > the sent folder >
-- > For
IBM-MAIN subscribe / signoff / archive access instructions, send > email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN > Scanned by McAfee
and confirmed virus-free. Find out more here: >
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbit.l >
y%2F2zCJMrO=04%7C01%7C%7C3b6f892b00544806111908d99cab424c%7C8 >
4df9e7fe9f640afb435%7C1%7C0%7C637713081693802385%7CUnknown >
%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ >
XVCI6Mn0%3D%7C1000=qXtsBYFRpCcqPoYpJLKiJWFnNHmXYs12Xtd17GAVY >
yg%3D=0 > >
-- > For
IBM-MAIN subscribe / signoff / archive access instructions, send > email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN .
-- For
IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee
and confirmed virus-free. Find out more here: https://bit.ly/2zCJMrO

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread David Spiegel

Hi Joe,
If all else fails, maybe you should make a PDF document out of your 
MS-Word document and send it as an attachment?


Regards,
David

On 2021-10-31 16:15, Joseph Reichman wrote:

Before I send it looks okay I have outlook I went to file -> options -> mail
it has options for compose However when I did a google for "reply to" for
outlook the response I got back Was that if you are replying and the message
you replying is in one format say RTF or HTML outlook cann't change your
reply to plain text -Original Message- From: IBM Mainframe
Discussion List On Behalf Of Tom Brennan Sent: Sunday, October 31, 2021 4:08
PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help Here's a screen
I just copy/pasted into the Thunderbird email client. Before sending I see
each line separated correctly, however the longer lines wrap around. That
could be just local and they may not wrap after emailing. Let's see...
Log/List Function keys Colors Environ Identifier Help

-- CBT ISPF Settings Command ===> Options Print Graphics Enter "/" to select
option Family printer type 2 Command line at bottom Device name . . . .
Panel display CUA mode Aspect ratio . . . 0 Long message in pop-up Tab to
action bar choices Tab to point-and-shoot fields General / Restore
TEST/TRACE options Input field pad . . N / Session Manager mode Command
delimiter . ; / Jump from leader dots Edit PRINTDS Command Always show split
line Enable EURO sign Member list options Enter "/" to select option /
Scroll member list Allow empty member list Allow empty member list (nomatch)
/ Empty member list for edit only Terminal Characteristics Screen format 3
1. Data 2. Std 3. Max 4. Part Terminal Type 3 1. 3277 2. 3277A 3. 3278 4.
3278A 5. 3290A 6. 3278T 7. 3278CF 8. 3277KN 9. 3278KN 10. 3278AR 11. 3278CY
12. 3278HN 13. 3278HO 14. 3278IS 15. 3278L2 16. BE163 17. BE190 18. 3278TH
19. 3278CU 20. DEU78 21. DEU78A 22. DEU78T 23. DEU90A 24. SW116 25. SW131
26. SW500 27. 3278GR 28. 3278L1 29. OTHER On 10/31/2021 11:07 AM, Joseph
Reichman wrote: > Have a visita 3270 > > When I originally responded to
Peter Relson I noticed in outlook sent > it was a big jumble > > I then cut
then entire response and just hit to break the > lines > > When done I did a
sent it > > But then I noticed once again it was jumbled > > This time I did
the same from outlook cookies the text from sent > folder without rtf format
still came out one big line when I looked in > the sent folder
-- For
IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee
and confirmed virus-free. Find out more here: 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbit.ly%2F2zCJMrOdata=04%7C01%7C%7C3b6f892b00544806111908d99cab424c%7C84df9e7fe9f640afb435%7C1%7C0%7C637713081693802385%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=qXtsBYFRpCcqPoYpJLKiJWFnNHmXYs12Xtd17GAVYyg%3Dreserved=0

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
Before I send it looks okay I have outlook I went to file -> options -> mail
it has options for compose However when I did a google for "reply to" for
outlook the response I got back Was that if you are replying and the message
you replying is in one format say RTF or HTML outlook cann't change your
reply to plain text -Original Message- From: IBM Mainframe
Discussion List On Behalf Of Tom Brennan Sent: Sunday, October 31, 2021 4:08
PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help Here's a screen
I just copy/pasted into the Thunderbird email client. Before sending I see
each line separated correctly, however the longer lines wrap around. That
could be just local and they may not wrap after emailing. Let's see...
Log/List Function keys Colors Environ Identifier Help

-- CBT ISPF Settings Command ===> Options Print Graphics Enter "/" to select
option Family printer type 2 Command line at bottom Device name . . . .
Panel display CUA mode Aspect ratio . . . 0 Long message in pop-up Tab to
action bar choices Tab to point-and-shoot fields General / Restore
TEST/TRACE options Input field pad . . N / Session Manager mode Command
delimiter . ; / Jump from leader dots Edit PRINTDS Command Always show split
line Enable EURO sign Member list options Enter "/" to select option /
Scroll member list Allow empty member list Allow empty member list (nomatch)
/ Empty member list for edit only Terminal Characteristics Screen format 3
1. Data 2. Std 3. Max 4. Part Terminal Type 3 1. 3277 2. 3277A 3. 3278 4.
3278A 5. 3290A 6. 3278T 7. 3278CF 8. 3277KN 9. 3278KN 10. 3278AR 11. 3278CY
12. 3278HN 13. 3278HO 14. 3278IS 15. 3278L2 16. BE163 17. BE190 18. 3278TH
19. 3278CU 20. DEU78 21. DEU78A 22. DEU78T 23. DEU90A 24. SW116 25. SW131
26. SW500 27. 3278GR 28. 3278L1 29. OTHER On 10/31/2021 11:07 AM, Joseph
Reichman wrote: > Have a visita 3270 > > When I originally responded to
Peter Relson I noticed in outlook sent > it was a big jumble > > I then cut
then entire response and just hit to break the > lines > > When done I did a
sent it > > But then I noticed once again it was jumbled > > This time I did
the same from outlook cookies the text from sent > folder without rtf format
still came out one big line when I looked in > the sent folder
-- For
IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee
and confirmed virus-free. Find out more here: https://bit.ly/2zCJMrO

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Tom Brennan
Here's a screen I just copy/pasted into the Thunderbird email client. 
Before sending I see each line separated correctly, however the longer 
lines wrap around.  That could be just local and they may not wrap after 
emailing.  Let's see...


   Log/List  Function keys  Colors  Environ  Identifier  Help 



-- 

 CBT ISPF Settings 

 Command ===> 




 Options   Print Graphics 

   Enter "/" to select optionFamily printer type 2 

  Command line at bottom Device name . . . . 

  Panel display CUA mode Aspect ratio  . . . 0 

  Long message in pop-up 

  Tab to action bar choices 

  Tab to point-and-shoot fieldsGeneral 

   /  Restore TEST/TRACE options Input field pad . . N 

   /  Session Manager mode   Command delimiter . ; 

   /  Jump from leader dots 

  Edit PRINTDS Command 

  Always show split line 

  Enable EURO sign 




 Member list options 

   Enter "/" to select option 

   /  Scroll member list 

  Allow empty member list 

  Allow empty member list (nomatch) 

   /  Empty member list for edit only 




 Terminal Characteristics 

   Screen format   3  1. Data2. Std 3. Max 4. Part 




   Terminal Type   31. 3277   2. 3277A  3. 3278   4. 
3278A
5. 3290A  6. 3278T  7. 3278CF 8. 
3277KN
9. 3278KN10. 3278AR11. 3278CY12. 
3278HN
   13. 3278HO14. 3278IS15. 3278L216. 
BE163
   17. BE190 18. 3278TH19. 3278CU20. 
DEU78
   21. DEU78A22. DEU78T23. DEU90A24. 
SW116
   25. SW131 26. SW500 27. 3278GR28. 
3278L1
   29. OTHER 





On 10/31/2021 11:07 AM, Joseph Reichman wrote:

Have a visita 3270

When I originally responded to Peter Relson
I noticed in outlook sent it was a big jumble

I then cut then entire response and just hit  to break the lines

When done I did a sent it

But then I noticed once again it was jumbled

This time I did the same from outlook cookies the text from sent folder without 
rtf format still came out one big line when I looked in the sent folder


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help -- Copy from Vista

2021-10-31 Thread Paul Gilmartin
On Sun, 31 Oct 2021 14:07:25 -0400, Joseph Reichman wrote:

>Have a visita 3270 
> 
"visita"?  "Vista"?  Whatever.

Are there Vista option(s) which control formatting on Copy?  Which have
you specified?  (You'll probably get many suggestions here; Vista is
popular.)

>When I originally responded to Peter Relson 
>I noticed in outlook sent it was a big jumble 
>
Did you paste into GMail web interface?  GMail app?  Outlook?  Other (specify)?

If you paste into Notepad; Wordpad; Notepad++; ... is the formatting OK?  Will 
those
tools tell you what line end option is in effect?  Can you change it?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
I am going to try what Seymour suggested entering a blank no RTF Then should 
break the line I think I have been responding from my iphone however to show my 
code I went back to outlook This should be line 3 Regarding CSV 806 / BLDL 
going try LSEARCH=YES in my LINK this time spaced out the entire line thanks 
-Original Message- From: IBM Mainframe Discussion List On Behalf Of 
Gibney, Dave Sent: Sunday, October 31, 2021 2:10 PM To: 
IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help IBM-MAIN works with plain 
text, no RTF and certainly not HTML > -Original Message- > From: IBM 
Mainframe Discussion List On > Behalf Of Joseph Reichman > Sent: Sunday, 
October 31, 2021 11:07 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: 
formatting help > > Have a visita 3270 > > When I originally responded to Peter 
Relson I noticed in outlook sent > it was a big jumble > > I then cut then 
entire response and just hit to break the > lines > > When done I did a sent it 
> > But then I noticed once again it was jumbled > > This time I did the same 
from outlook cookies the text from sent > folder without rtf format still came 
out one big line when I looked in > the sent folder > > > > > > On Oct 31, 
2021, at 1:27 PM, Paul Gilmartin requ...@listserv.ua.edu> wrote: > > > > On 
Sun, 31 Oct 2021 11:58:04 -0400, Joseph Reichman wrote: > > > >> I think it 
ways that Binyamin and Peter Relson asked to see what I > >> was > doing so I 
cut and pasted my code from Sysprint > >> > > "cut and pasted my code from 
Sysprint " leaves a lot unsaid. How > > did you > "cut" and > > how did you 
"paste"? What are all the tools you used? > > > >> I use outlook and the format 
text didn’t have RTF > >> > > An excerpt from your headers is: > > > >> 
MIME-Version: 1.0 > >> X-Mailer: Microsoft Outlook 16.0 > >> Thread-Index: 
AdfOZnzbf0UucJTfS06mk9+aB7qtaA== > >> Content-Type: text/plain; charset="UTF-8" 
> >> Content-Transfer-Encoding: quoted-printable > >> Message-ID: > >> 
Newsgroups: bit.listserv.ibm-main > >> Date: Sun, 31 Oct 2021 11:06:54 -0400650 
$ > > > > In the raw text of your message, every record ends with " =", Q-P's > 
> indication of a continued line. So your entire message, both > > original and 
quoted text represents a single enormous line. > > > > Another of your messages 
has: > > > >> X-Mailer: Microsoft Outlook 16.0 > >> Thread-Index: 
AdfOa8yR/aaoN9VdTUahA7hMeq+OUg== > >> Content-Type: text/plain; 
charset="us-ascii" > >> Content-Transfer-Encoding: 7bit > >> Message-ID: > >> 
Newsgroups: bit.listserv.ibm-main > >> Date: Sun, 31 Oct 2021 11:31:50 -0400 > 
>> Reply-To: IBM Mainframe Discussion List m...@listserv.ua.edu> > >> Sender: 
IBM Mainframe Discussion List m...@listserv.ua.edu> > >> From: Joseph Reichman 
> >> Subject: formatting help > > > > And there is no formatting problem. What 
did you do differently in > > that > one? > > > > > 
__ > _ > >>>> On Oct 
31, 2021, at 11:44 AM, Seymour J Metz wrote: > >>>> > >>>> For widest 
coverage, don't use RTF or HTML; write straight text, > >>>> with > blank lines 
between paragraphs. Also, use spaces rather than tabs. If > you use anything 
beyond ASCII, set the character set to UTF-8 unless > you are using software 
that doesn't generate appropriate CT and CTE > header fields. Use format=flowed 
if your e-mail client supports it. > >>>> > > +1 > > Simpler is better. > > > > 
If you use a desktop file as a waystation, can you view or post a > > hex dump 
of a few lines of it? > > > > -- gil > > > > 
 > > -- For 
IBM-MAIN subscribe / signoff / archive access instructions, > > send email to 
lists...@listserv.ua.edu with the message: INFO > > IBM-MAIN > > 
-- > For 
IBM-MAIN subscribe / signoff / archive access instructions, send > email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN 
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee and 
confirmed virus-free. Find out more here: https://bit.ly/2zCJMrO

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
I am going to try what Seymour suggested entering a blank no RTF Then should 
break the line I think I have been responding from my iphone however to show my 
code I went back to outlook This should be line 3 Regarding CSV 806 / BLDL 
going try LSEARCH=YES in my LINK thanks -Original Message- From: IBM 
Mainframe Discussion List On Behalf Of Gibney, Dave Sent: Sunday, October 31, 
2021 2:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: formatting help IBM-MAIN 
works with plain text, no RTF and certainly not HTML > -Original 
Message- > From: IBM Mainframe Discussion List On > Behalf Of Joseph 
Reichman > Sent: Sunday, October 31, 2021 11:07 AM > To: 
IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: formatting help > > Have a visita 3270 
> > When I originally responded to Peter Relson I noticed in outlook sent > it 
was a big jumble > > I then cut then entire response and just hit to break the 
> lines > > When done I did a sent it > > But then I noticed once again it was 
jumbled > > This time I did the same from outlook cookies the text from sent > 
folder without rtf format still came out one big line when I looked in > the 
sent folder > > > > > > On Oct 31, 2021, at 1:27 PM, Paul Gilmartin 
requ...@listserv.ua.edu> wrote: > > > > On Sun, 31 Oct 2021 11:58:04 -0400, 
Joseph Reichman wrote: > > > >> I think it ways that Binyamin and Peter Relson 
asked to see what I > >> was > doing so I cut and pasted my code from Sysprint 
> >> > > "cut and pasted my code from Sysprint " leaves a lot unsaid. How > > 
did you > "cut" and > > how did you "paste"? What are all the tools you used? > 
> > >> I use outlook and the format text didn’t have RTF > >> > > An excerpt 
from your headers is: > > > >> MIME-Version: 1.0 > >> X-Mailer: Microsoft 
Outlook 16.0 > >> Thread-Index: AdfOZnzbf0UucJTfS06mk9+aB7qtaA== > >> 
Content-Type: text/plain; charset="UTF-8" > >> Content-Transfer-Encoding: 
quoted-printable > >> Message-ID: > >> Newsgroups: bit.listserv.ibm-main > >> 
Date: Sun, 31 Oct 2021 11:06:54 -0400650 $ > > > > In the raw text of your 
message, every record ends with " =", Q-P's > > indication of a continued line. 
So your entire message, both > > original and quoted text represents a single 
enormous line. > > > > Another of your messages has: > > > >> X-Mailer: 
Microsoft Outlook 16.0 > >> Thread-Index: AdfOa8yR/aaoN9VdTUahA7hMeq+OUg== > >> 
Content-Type: text/plain; charset="us-ascii" > >> Content-Transfer-Encoding: 
7bit > >> Message-ID: > >> Newsgroups: bit.listserv.ibm-main > >> Date: Sun, 31 
Oct 2021 11:31:50 -0400 > >> Reply-To: IBM Mainframe Discussion List 
m...@listserv.ua.edu> > >> Sender: IBM Mainframe Discussion List 
m...@listserv.ua.edu> > >> From: Joseph Reichman > >> Subject: formatting help 
> > > > And there is no formatting problem. What did you do differently in > > 
that > one? > > > > > 
__ > _ > >>>> On Oct 
31, 2021, at 11:44 AM, Seymour J Metz wrote: > >>>> > >>>> For widest 
coverage, don't use RTF or HTML; write straight text, > >>>> with > blank lines 
between paragraphs. Also, use spaces rather than tabs. If > you use anything 
beyond ASCII, set the character set to UTF-8 unless > you are using software 
that doesn't generate appropriate CT and CTE > header fields. Use format=flowed 
if your e-mail client supports it. > >>>> > > +1 > > Simpler is better. > > > > 
If you use a desktop file as a waystation, can you view or post a > > hex dump 
of a few lines of it? > > > > -- gil > > > > 
 > > -- For 
IBM-MAIN subscribe / signoff / archive access instructions, > > send email to 
lists...@listserv.ua.edu with the message: INFO > > IBM-MAIN > > 
-- > For 
IBM-MAIN subscribe / signoff / archive access instructions, send > email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN 
-- For 
IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN Scanned by McAfee and 
confirmed virus-free. Find out more here: https://bit.ly/2zCJMrO

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Gibney, Dave
IBM-MAIN works with plain text, no RTF and certainly not HTML

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Joseph Reichman
> Sent: Sunday, October 31, 2021 11:07 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: formatting help
> 
> Have a visita 3270
> 
> When I originally responded to Peter Relson
> I noticed in outlook sent it was a big jumble
> 
> I then cut then entire response and just hit  to break the lines
> 
> When done I did a sent it
> 
> But then I noticed once again it was jumbled
> 
> This time I did the same from outlook cookies the text from sent folder
> without rtf format still came out one big line when I looked in the sent 
> folder
> 
> 
> 
> 
> > On Oct 31, 2021, at 1:27 PM, Paul Gilmartin <000433f07816-dmarc-
> requ...@listserv.ua.edu> wrote:
> >
> > On Sun, 31 Oct 2021 11:58:04 -0400, Joseph Reichman wrote:
> >
> >> I think it ways that Binyamin and Peter Relson asked to see what I was
> doing so I cut and pasted my code from Sysprint
> >>
> > "cut and pasted my code from Sysprint " leaves a lot unsaid.  How did you
> "cut" and
> > how did you "paste"?  What are all the tools you used?
> >
> >> I use outlook and the format text didn’t have RTF
> >>
> > An excerpt from your headers is:
> >
> >> MIME-Version: 1.0
> >> X-Mailer: Microsoft Outlook 16.0
> >> Thread-Index: AdfOZnzbf0UucJTfS06mk9+aB7qtaA==
> >> Content-Type: text/plain; charset="UTF-8"
> >> Content-Transfer-Encoding: quoted-printable
> >> Message-ID:  <006a01d7ce68$f16a86d0$d43f9470$@gmail.com>
> >> Newsgroups:   bit.listserv.ibm-main
> >> Date: Sun, 31 Oct 2021 11:06:54 -0400650 $
> >
> > In the raw text of your message, every record ends with " =", Q-P's
> > indication of a continued line.  So your entire message, both original
> > and quoted text represents a single enormous line.
> >
> > Another of your messages has:
> >
> >> X-Mailer: Microsoft Outlook 16.0
> >> Thread-Index: AdfOa8yR/aaoN9VdTUahA7hMeq+OUg==
> >> Content-Type: text/plain; charset="us-ascii"
> >> Content-Transfer-Encoding: 7bit
> >> Message-ID:  <007301d7ce6c$6d156ef0$47404cd0$@gmail.com>
> >> Newsgroups:   bit.listserv.ibm-main
> >> Date: Sun, 31 Oct 2021 11:31:50 -0400
> >> Reply-To: IBM Mainframe Discussion List  m...@listserv.ua.edu>
> >> Sender:   IBM Mainframe Discussion List  m...@listserv.ua.edu>
> >> From: Joseph Reichman 
> >> Subject: formatting help
> >
> > And there is no formatting problem.  What did you do differently in that
> one?
> >
> >
> __
> _
> >>>> On Oct 31, 2021, at 11:44 AM, Seymour J Metz wrote:
> >>>>
> >>>> For widest coverage, don't use RTF or HTML; write straight text, with
> blank lines between paragraphs. Also, use spaces rather than tabs. If you use
> anything beyond ASCII, set the character set to UTF-8 unless you are using
> software that doesn't generate appropriate CT and CTE header fields. Use
> format=flowed if your e-mail client supports it.
> >>>>
> > +1
> > Simpler is better.
> >
> > If you use a desktop file as a waystation, can you view or post a hex dump
> > of a few lines of it?
> >
> > -- gil
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
Have a visita 3270 

When I originally responded to Peter Relson 
I noticed in outlook sent it was a big jumble 

I then cut then entire response and just hit  to break the lines 

When done I did a sent it 

But then I noticed once again it was jumbled 

This time I did the same from outlook cookies the text from sent folder without 
rtf format still came out one big line when I looked in the sent folder 




> On Oct 31, 2021, at 1:27 PM, Paul Gilmartin 
> <000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> 
> On Sun, 31 Oct 2021 11:58:04 -0400, Joseph Reichman wrote:
> 
>> I think it ways that Binyamin and Peter Relson asked to see what I was doing 
>> so I cut and pasted my code from Sysprint 
>> 
> "cut and pasted my code from Sysprint " leaves a lot unsaid.  How did you 
> "cut" and
> how did you "paste"?  What are all the tools you used?
> 
>> I use outlook and the format text didn’t have RTF
>> 
> An excerpt from your headers is:
> 
>> MIME-Version: 1.0
>> X-Mailer: Microsoft Outlook 16.0
>> Thread-Index: AdfOZnzbf0UucJTfS06mk9+aB7qtaA==
>> Content-Type: text/plain; charset="UTF-8"
>> Content-Transfer-Encoding: quoted-printable
>> Message-ID:  <006a01d7ce68$f16a86d0$d43f9470$@gmail.com>
>> Newsgroups:   bit.listserv.ibm-main
>> Date: Sun, 31 Oct 2021 11:06:54 -0400650 $ 
> 
> In the raw text of your message, every record ends with " =", Q-P's
> indication of a continued line.  So your entire message, both original
> and quoted text represents a single enormous line.
> 
> Another of your messages has:
> 
>> X-Mailer: Microsoft Outlook 16.0
>> Thread-Index: AdfOa8yR/aaoN9VdTUahA7hMeq+OUg==
>> Content-Type: text/plain; charset="us-ascii"
>> Content-Transfer-Encoding: 7bit
>> Message-ID:  <007301d7ce6c$6d156ef0$47404cd0$@gmail.com>
>> Newsgroups:   bit.listserv.ibm-main
>> Date: Sun, 31 Oct 2021 11:31:50 -0400
>> Reply-To: IBM Mainframe Discussion List 
>> Sender:   IBM Mainframe Discussion List 
>> From: Joseph Reichman 
>> Subject: formatting help
> 
> And there is no formatting problem.  What did you do differently in that one?
> 
> ___
>>>> On Oct 31, 2021, at 11:44 AM, Seymour J Metz wrote:
>>>> 
>>>> For widest coverage, don't use RTF or HTML; write straight text, with 
>>>> blank lines between paragraphs. Also, use spaces rather than tabs. If you 
>>>> use anything beyond ASCII, set the character set to UTF-8 unless you are 
>>>> using software that doesn't generate appropriate CT and CTE header fields. 
>>>> Use format=flowed if your e-mail client supports it.
>>>> 
> +1
> Simpler is better.
> 
> If you use a desktop file as a waystation, can you view or post a hex dump
> of a few lines of it?
> 
> -- gil
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Paul Gilmartin
On Sun, 31 Oct 2021 11:58:04 -0400, Joseph Reichman wrote:

>I think it ways that Binyamin and Peter Relson asked to see what I was doing 
>so I cut and pasted my code from Sysprint 
>
"cut and pasted my code from Sysprint " leaves a lot unsaid.  How did you "cut" 
and
how did you "paste"?  What are all the tools you used?

>I use outlook and the format text didn’t have RTF
>
An excerpt from your headers is:

> MIME-Version: 1.0
> X-Mailer: Microsoft Outlook 16.0
> Thread-Index: AdfOZnzbf0UucJTfS06mk9+aB7qtaA==
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
> Message-ID:  <006a01d7ce68$f16a86d0$d43f9470$@gmail.com>
> Newsgroups:   bit.listserv.ibm-main
> Date: Sun, 31 Oct 2021 11:06:54 -0400650 $ 

In the raw text of your message, every record ends with " =", Q-P's
indication of a continued line.  So your entire message, both original
and quoted text represents a single enormous line.

Another of your messages has:

> X-Mailer: Microsoft Outlook 16.0
> Thread-Index: AdfOa8yR/aaoN9VdTUahA7hMeq+OUg==
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Message-ID:  <007301d7ce6c$6d156ef0$47404cd0$@gmail.com>
> Newsgroups:   bit.listserv.ibm-main
> Date: Sun, 31 Oct 2021 11:31:50 -0400
> Reply-To:     IBM Mainframe Discussion List 
> Sender:   IBM Mainframe Discussion List 
> From: Joseph Reichman 
> Subject: formatting help

And there is no formatting problem.  What did you do differently in that one?

___
>>> On Oct 31, 2021, at 11:44 AM, Seymour J Metz wrote:
>>> 
>>> For widest coverage, don't use RTF or HTML; write straight text, with 
>>> blank lines between paragraphs. Also, use spaces rather than tabs. If you 
>>> use anything beyond ASCII, set the character set to UTF-8 unless you are 
>>> using software that doesn't generate appropriate CT and CTE header fields. 
>>> Use format=flowed if your e-mail client supports it.
>>> 
+1
Simpler is better.

If you use a desktop file as a waystation, can you view or post a hex dump
of a few lines of it?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
I think it ways that Binyamin and Peter Relson asked to see what I was doing so 
I cut and pasted my code from Sysprint 

I use outlook and the format text didn’t have RTF

Thanks 



> On Oct 31, 2021, at 11:50 AM, Joseph Reichman  wrote:
> 
> Thanks 
> 
> 
>> On Oct 31, 2021, at 11:44 AM, Seymour J Metz  wrote:
>> 
>> For widest coverage, don't use RTF or HTML; write straight text, with blank 
>> lines between paragraphs. Also, use spaces rather than tabs. If you use 
>> anything beyond ASCII, set the character set to UTF-8 unless you are using 
>> software that doesn't generate appropriate CT and CTE header fields. Use 
>> format=flowed if your e-mail client supports it.
>> 
>> 
>> --
>> Shmuel (Seymour J.) Metz
>> http://mason.gmu.edu/~smetz3
>> 
>> 
>> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
>> Joseph Reichman [reichman...@gmail.com]
>> Sent: Sunday, October 31, 2021 11:31 AM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: formatting help
>> 
>> Hi
>> 
>> 
>> 
>> I just tried responding to a response I got trying to help me solve my
>> problem  and when I looked at my sent folder the lines didn't have the same
>> break.
>> 
>> 
>> 
>> I tried this response using both rich text and without rich text and the
>> lines still looked jumbled. Does IBMMAIN ignore rich text format in what
>> "Format text" should response be.
>> 
>> 
>> 
>> 
>> 
>> thanks
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _
>> 
>> 
>> <https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
>> mail_content=emailclient?utm_medium=email_source=link_campaign=s
>> ig-email_content=emailclient>   Scanned by McAfee
>> <https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
>> mail_content=emailclient?utm_medium=email_source=link_campaign=s
>> ig-email_content=emailclient>  and confirmed virus-free.
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Joseph Reichman
Thanks 


> On Oct 31, 2021, at 11:44 AM, Seymour J Metz  wrote:
> 
> For widest coverage, don't use RTF or HTML; write straight text, with blank 
> lines between paragraphs. Also, use spaces rather than tabs. If you use 
> anything beyond ASCII, set the character set to UTF-8 unless you are using 
> software that doesn't generate appropriate CT and CTE header fields. Use 
> format=flowed if your e-mail client supports it.
> 
> 
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
> 
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Joseph Reichman [reichman...@gmail.com]
> Sent: Sunday, October 31, 2021 11:31 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: formatting help
> 
> Hi
> 
> 
> 
> I just tried responding to a response I got trying to help me solve my
> problem  and when I looked at my sent folder the lines didn't have the same
> break.
> 
> 
> 
> I tried this response using both rich text and without rich text and the
> lines still looked jumbled. Does IBMMAIN ignore rich text format in what
> "Format text" should response be.
> 
> 
> 
> 
> 
> thanks
> 
> 
> 
> 
> 
> 
> 
> 
>  _
> 
> 
> <https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
> mail_content=emailclient?utm_medium=email_source=link_campaign=s
> ig-email_content=emailclient>   Scanned by McAfee
> <https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
> mail_content=emailclient?utm_medium=email_source=link_campaign=s
> ig-email_content=emailclient>  and confirmed virus-free.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Seymour J Metz
For widest coverage, don't use RTF or HTML; write straight text, with blank 
lines between paragraphs. Also, use spaces rather than tabs. If you use 
anything beyond ASCII, set the character set to UTF-8 unless you are using 
software that doesn't generate appropriate CT and CTE header fields. Use 
format=flowed if your e-mail client supports it.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Joseph Reichman [reichman...@gmail.com]
Sent: Sunday, October 31, 2021 11:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: formatting help

Hi



I just tried responding to a response I got trying to help me solve my
problem  and when I looked at my sent folder the lines didn't have the same
break.



I tried this response using both rich text and without rich text and the
lines still looked jumbled. Does IBMMAIN ignore rich text format in what
"Format text" should response be.





thanks








  _


<https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
mail_content=emailclient?utm_medium=email_source=link_campaign=s
ig-email_content=emailclient>   Scanned by McAfee
<https://home.mcafee.com/utm_medium=email_source=link_campaign=sig-e
mail_content=emailclient?utm_medium=email_source=link_campaign=s
ig-email_content=emailclient>  and confirmed virus-free.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: formatting help

2021-10-31 Thread Tom Brennan
Maybe copy your rich text to notepad, then copy again from notepad to 
email.  Assuming Windows.


On 10/31/2021 8:31 AM, Joseph Reichman wrote:

Hi

  


I just tried responding to a response I got trying to help me solve my
problem  and when I looked at my sent folder the lines didn't have the same
break.

  


I tried this response using both rich text and without rich text and the
lines still looked jumbled. Does IBMMAIN ignore rich text format in what
"Format text" should response be.

  

  


thanks

  

  

  



   _

  
Scanned by McAfee
  and confirmed virus-free. 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


formatting help

2021-10-31 Thread Joseph Reichman
Hi

 

I just tried responding to a response I got trying to help me solve my
problem  and when I looked at my sent folder the lines didn't have the same
break.

 

I tried this response using both rich text and without rich text and the
lines still looked jumbled. Does IBMMAIN ignore rich text format in what
"Format text" should response be.

 

 

thanks  

 

 

 


  _  

 
   Scanned by McAfee
  and confirmed virus-free.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


RFE: Update GTF PI/PGM record and formatting to include 64-bit general registers and access registers

2020-07-07 Thread Gord Tomlin
I've submitted a new RFE for GTF, requesting that the GTF PI/PGM record 
and formatting be updated to include 64-bit general registers and access 
registers.


At present, you don't get 64-bit register contents even when running 
AMODE 64, and you don't get access register contents even if running in 
an ASC mode where they matter.


Here's a link to the RFE for those that wish to vote for it:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe_ID=143147

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-22 Thread Tim Hare
If those quotation marks are part of the output of the Rexx routine, that's the 
issue.  E-mail program would not treat those lines as the commands they purport 
to be, because the lines don't begin with a recognizable command they begin 
with a string that consists of the double quote PLUS the command.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-08 Thread Seymour J Metz
Bletch! Stripping trailing blanks breaks format=flowed (see RFC 3676.)


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Sunday, April 7, 2019 4:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

On Sun, 7 Apr 2019 18:26:32 +, Seymour J Metz wrote:

>The separator line must have only CRLF;
>...
True.  However, since CMS and VM spool abominate empty records,
the VM SMTP daemon strips trailing blanks, there by forgiving nonempty
blank lines and, in turn, breaking classic uudecode which re-pads with NULs.

> the data terminator must have only a period followed by CRLF.
>
I'll trust you on the standard, however the popular UNIX sendmail says:

man sendmail
   ...
   -oiWhen reading a message from standard input, don't treat a line 
with only
  a . character as the end of input.

(the message body ends, then, with end-of-file.)

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-07 Thread Paul Gilmartin
On Sun, 7 Apr 2019 18:26:32 +, Seymour J Metz wrote:

>The separator line must have only CRLF;
>...
True.  However, since CMS and VM spool abominate empty records,
the VM SMTP daemon strips trailing blanks, there by forgiving nonempty
blank lines and, in turn, breaking classic uudecode which re-pads with NULs.

> the data terminator must have only a period followed by CRLF. 
> 
I'll trust you on the standard, however the popular UNIX sendmail says:

man sendmail
   ...
   -oiWhen reading a message from standard input, don't treat a line 
with only
  a . character as the end of input.

(the message body ends, then, with end-of-file.)

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-07 Thread Seymour J Metz
Yes, I meant blank in the sense of empty; it is definitely incorrect to have a 
space there.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Friday, April 5, 2019 3:54 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

On Fri, 5 Apr 2019 17:25:58 +, Seymour J Metz wrote:

>You need a blank line after the header ...
>
Not merely blank; the standards say "empty", sometimes in
Network conventions, .  Some hosts enforce
this and don't recognize .  I can't think
of an example where a non-empty blank line is syntactically valid
within headers.

>... whether or not it contains MIME fields. With rare exceptions, header 
>fields are case insensitive.


>
>From: Paul Gilmartin
>Sent: Friday, April 5, 2019 1:10 PM
>
>>We have a rexx on z/OS to send out emails. but when output to email (outlook) 
>>it treats any formatting command as text:
>>MIME-Version: 1.0
>>CONTENT-TYPE:TEXT/HTML
>< - here ----- >
>>
>>
>>
>>Any advice as to why these commands are not formatting the email message 
>>"body"?
>
>I'm pretty sure you need an empty line between the MIME headers and the message
>body.
>
>Mainframes are kinda hostile to empty lines.  CMS is worse than z/OS.
>
>Are email headers case-insensitive?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-07 Thread Seymour J Metz
I wouldn't be the reputation of a crooked politician that nobody uses case 
sensitive local parts. The golden rul for e-mail is to use the address that the 
intended recipient gave you and don't try to make it prettier.

Reading the RFCs isn't dangerous; reading urban legends about them is. RFC 5321 
and 5322 don't require that the local part be case sensitive, they simply 
permit it.



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Phil Smith III 
Sent: Friday, April 5, 2019 4:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

Seymour J Metz wrote:

>With rare exceptions, header fields are case insensitive.



And one of those rare exceptions is itself exceptional: the left-hand part of 
an email address (the "lists" in "li...@akphs.com") is theoretically 
case-sensitive per the RFC. But sanity prevailed, and nobody but nobody 
implements that way (sure would have made mainframe email fun!). So if you're 
digging into the RFCs, beware.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-07 Thread Seymour J Metz
It doesn't matter, as long as you don't care whether all of your outbound 
e-mail is delivered. OTOH, if you want it delivered then it does matter. But 
it's not my dog.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Phil Smith III 
Sent: Friday, April 5, 2019 5:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

Gil wrote:

>"sanity prevailed, and nobody but nobody" still does not suffice to excuse www 
>facilities

>that willy-nilly convert case of local part of entered email addresses.



Sure, that's obnoxious. If nothing else, maybe you like reading your email as 
joethel...@whatever.com <mailto:joethel...@whatever.com> . My wife is always 
formatting the user portion of email when I'm setting up a forward and I tell 
her "it doesn't matter".



>How would enforcing that RFC have impacted mainframe email?

>Ok.  Someone who habitually runs an editor CAPS ON deserves any

>adverse results.



I was thinking of email based on userid-which would naturally have been 
uppercase, but people would perennially have forgotten to uppercase it when 
sending (less of a problem today, with autocomplete) and so mainframe email 
would have gotten a reputation for being "flaky". Of course coupled with your 
first item above, it would have been even worse!


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-07 Thread Seymour J Metz
The separator line must have only CRLF; the data terminator must have only a 
period followed by CRLF. 


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Friday, April 5, 2019 6:28 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

On Fri, 5 Apr 2019 16:53:01 -0500, Bill Giannelli wrote:

>this is what the email received looks like:
>"MIME-Version: 1.0"
>"CONTENT-TYPE:TEXT/HTML"
>
>""
>""
>""
>TEXT***
>
Does the line (which you didn't surround with quotation marks) between
"CONTENT-TYPE:TEXT/HTML" and  "" contain a blank or is it
completely empty?  It may matter and "looks like" isn't precise enough.

Can you dump those headers in hex?  If the message is transferred by
FTP, can you dump in hex that file immdiately prior to transfer?

Can you email a test HTML file to this list or to me?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
I've now tried both coding the hex values (with hex on) and the null line with 
the jcl symbol. neither works.
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 17:33:57 -0500, Bill Giannelli  wrote:

>The blank line has spaces.
>This is in-stream data within JCL. So I dont know how to code a "null" line.
>
Long ago, in an experiment, I did it by feeding a RECFM=VB file to INTRDR.  Need
to have at least one line longer than 80, and two lines of unequal lengths.
(Most people wouldn't do that!)

Maybe:
//  EXPORt NOTHING
//  SET NOTHING=''
Then code your empty line as:
//SYSIN  DD *,SYMBOLS=JCLONLY
...



(And hope the interpreter doesn't pad it back to 80 bytes.)  Isn't JCL fun!?

Or, if you own the Rexx component, modify it to strip trailing blanks.

Or, if you can code in hex instead of a blank line, begin the next line with
x'0D15'  (or maybe x'0D25', depending on which translate table FTP uses).

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
The blank line has spaces.
This is in-stream data within JCL. So I dont know how to code a "null" line.
thanks
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 16:53:01 -0500, Bill Giannelli wrote:

>this is what the email received looks like:
>"MIME-Version: 1.0"
>"CONTENT-TYPE:TEXT/HTML"
>
>""
>""
>""
>TEXT***
> 
Does the line (which you didn't surround with quotation marks) between
"CONTENT-TYPE:TEXT/HTML" and  "" contain a blank or is it
completely empty?  It may matter and "looks like" isn't precise enough.

Can you dump those headers in hex?  If the message is transferred by
FTP, can you dump in hex that file immdiately prior to transfer?

Can you email a test HTML file to this list or to me?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Phil Smith III
Gil wrote:

>"sanity prevailed, and nobody but nobody" still does not suffice to excuse www 
>facilities

>that willy-nilly convert case of local part of entered email addresses.

 

Sure, that's obnoxious. If nothing else, maybe you like reading your email as 
joethel...@whatever.com <mailto:joethel...@whatever.com> . My wife is always 
formatting the user portion of email when I'm setting up a forward and I tell 
her "it doesn't matter".

 

>How would enforcing that RFC have impacted mainframe email?

>Ok.  Someone who habitually runs an editor CAPS ON deserves any

>adverse results.

 

I was thinking of email based on userid-which would naturally have been 
uppercase, but people would perennially have forgotten to uppercase it when 
sending (less of a problem today, with autocomplete) and so mainframe email 
would have gotten a reputation for being "flaky". Of course coupled with your 
first item above, it would have been even worse!


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
this is what the email received looks like:
"MIME-Version: 1.0"
"CONTENT-TYPE:TEXT/HTML"

""
""
""
TEXT***

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 15:37:39 -0500, Bill Giannelli wrote:

>apparently (I just found out) the rexx routine FTPs the email "file" to a 
>server. and then AO sends out that email from that server. unfortunately I do 
>not have access to that server right now.
> 
What do the headers look like as the email is receievd at the ultimate 
destination?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
further clarification:
previously we had this message sent to email in a job thru SMTP and the format 
commands worked. But now my shop is using this rexx / AO routine and the format 
commands are just spit out as text.
thanks
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 16:20:31 -0400, Phil Smith III wrote:
>
>And one of those rare exceptions is itself exceptional: the left-hand part of 
>an email address (the "lists" in "li...@akphs.com") is theoretically 
>case-sensitive per the RFC. But sanity prevailed, and nobody but nobody 
>implements that way (sure would have made mainframe email fun!). So if you're 
>digging into the RFCs, beware.
> 
"sanity prevailed, and nobody but nobody" still does not suffice to excuse www 
facilities
that willy-nilly convert case of local part of entered email addresses.

How would enforcing that RFC have impacted mainframe email?
Ok.  Someone who habitually runs an editor CAPS ON deserves any
adverse results.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
apparently (I just found out) the rexx routine FTPs the email "file" to a 
server. and then AO sends out that email from that server. unfortunately I do 
not have access to that server right now.
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 15:30:23 -0500, Bill Giannelli wrote:

>Thank you all for your help and replies!
>What we have is a rexx routine sending the message to AO. AO sends it to email 
>and the formatting now does not work.
> 
Still "does not"?  Can you capture the headers on the receiving system and
post them here?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
Thank you all for your help and replies!
What we have is a rexx routine sending the message to AO. AO sends it to email 
and the formatting now does not work.
thanks
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Phil Smith III
Seymour J Metz wrote:

>With rare exceptions, header fields are case insensitive.

 

And one of those rare exceptions is itself exceptional: the left-hand part of 
an email address (the "lists" in "li...@akphs.com") is theoretically 
case-sensitive per the RFC. But sanity prevailed, and nobody but nobody 
implements that way (sure would have made mainframe email fun!). So if you're 
digging into the RFCs, beware.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 17:25:58 +, Seymour J Metz wrote:

>You need a blank line after the header ...
> 
Not merely blank; the standards say "empty", sometimes in
Network conventions, .  Some hosts enforce
this and don't recognize .  I can't think
of an example where a non-empty blank line is syntactically valid
within headers.

>... whether or not it contains MIME fields. With rare exceptions, header 
>fields are case insensitive.


>
>From: Paul Gilmartin
>Sent: Friday, April 5, 2019 1:10 PM
>
>>We have a rexx on z/OS to send out emails. but when output to email (outlook) 
>>it treats any formatting command as text:
>>MIME-Version: 1.0
>>CONTENT-TYPE:TEXT/HTML
>< - here - >
>>
>>
>>
>>Any advice as to why these commands are not formatting the email message 
>>"body"?
>
>I'm pretty sure you need an empty line between the MIME headers and the message
>body.
>
>Mainframes are kinda hostile to empty lines.  CMS is worse than z/OS.
>
>Are email headers case-insensitive?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Seymour J Metz
You need a blank line after the header whether or not it contains MIME fields. 
With rare exceptions, header fields are case insensitive.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Friday, April 5, 2019 1:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Rexx not processing email formatting

On Fri, 5 Apr 2019 11:07:56 -0500, Bill Giannelli wrote:

>We have a rexx on z/OS to send out emails. but when output to email (outlook) 
>it treats any formatting command as text:
>MIME-Version: 1.0
>CONTENT-TYPE:TEXT/HTML
< - here - >
>
>
>
>Any advice as to why these commands are not formatting the email message 
>"body"?

I'm pretty sure you need an empty line between the MIME headers and the message
body.

Mainframes are kinda hostile to empty lines.  CMS is worse than z/OS.

Are email headers case-insensitive?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Seymour J Metz
> MIME-Version: 1.0
> CONTENT-TYPE:TEXT/HTML

Where are you putting this? The contents of an e-mail message has a header and 
a body, separated by a blank line, and those fields have to be in the message 
header or in a MIME header.

mail from: f...@bar.baz
rcpt to: some...@example.com
data
from:f...@bar.baz
to: some...@example.com
Subject: This is a MIME HTML message
MIME-Version: 1.0
CONTENT-TYPE:TEXT/HTML; charset="us-ascii"
Content-Transfer-Encoding:7bit




text

.



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Bill Giannelli 
Sent: Friday, April 5, 2019 12:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Rexx not processing email formatting

We have a rexx on z/OS to send out emails. but when output to email (outlook) 
it treats any formatting command as text:
MIME-Version: 1.0
CONTENT-TYPE:TEXT/HTML



Any advice as to why these commands are not formatting the email message "body"?
thank you
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Rexx not processing email formatting

2019-04-05 Thread Paul Gilmartin
On Fri, 5 Apr 2019 11:07:56 -0500, Bill Giannelli wrote:

>We have a rexx on z/OS to send out emails. but when output to email (outlook) 
>it treats any formatting command as text:
>MIME-Version: 1.0
>CONTENT-TYPE:TEXT/HTML   
< - here - >
>   
>   
>
>Any advice as to why these commands are not formatting the email message 
>"body"?

I'm pretty sure you need an empty line between the MIME headers and the message
body.

Mainframes are kinda hostile to empty lines.  CMS is worse than z/OS.

Are email headers case-insensitive?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Rexx not processing email formatting

2019-04-05 Thread Bill Giannelli
We have a rexx on z/OS to send out emails. but when output to email (outlook) 
it treats any formatting command as text:
MIME-Version: 1.0
CONTENT-TYPE:TEXT/HTML   
   
   

Any advice as to why these commands are not formatting the email message "body"?
thank you
Bill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-22 Thread Farley, Peter x23353
Thanks for the cogent reply Jim.  So the answer to my question is "no" as I 
initially suspected.

Another Friday question answered!

Thanks again to all who contributed to the thread.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jim Mulder
Sent: Friday, September 21, 2018 9:41 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?



  IPCS and SNAP each have their own code for formatting a line
of dumped storage.  There is no common operating system
API.

Jim Mulder z/OS Diagnosis, Design, Development, Test  IBM Corp. 
Poughkeepsie NY
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-22 Thread Farley, Peter x23353
Interesting historical research, at the least.  I don't think I'd try to use 
that on an employer's live systems even without the possible SP253 GETMAIN, but 
only on a system programmer test LPAR, to one of which I unfortunately do not 
have any access.

Thanks for the research anyway.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Harminc
Sent: Friday, September 21, 2018 8:42 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?

EXTERNAL EMAIL

On 21 September 2018 at 14:15, Farley, Peter x23353 
 wrote:
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.
>
> I think the answer to my question is "no", but I thought it worth asking 
> anyway.
>
> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
> displays like this in a 121-character line:
>
> 36B219C0       
>    **

Or like this in a 204-character line:

36B219C0     
    **

I know of no supported routine, but you could perhaps call IEAVAD71 (which is 
in LPA module IGC0005A (SVC 51) along with lots of other stuff, but you could 
link just that CSECT with your program, I imagine). This routine formats as 
much storage as you like, and handles all the boundary stuff plus insertion of 
"SAME AS ABOVE" for replicated lines. The arguments to this routine are 
described in macro IHAABDA in SYS1.MODGEN, which has no comment on whether this 
is a programming interface. I strongly suspect it isn't, because I found it 
only by looking at the MVS 3.8 source code from 1978 or so. [Of course I don't 
know that this module is even still in use on modern systems - it could be 
baggage that no one has removed.]

Looks like you'd have to set up at least fields ABDBLOCK and ABDLENTH, ABDBUFAD 
and ABDBUFS2, and who knows what other things like work areas it might require. 
But it would be harmless to try calling it from a user program. Standard 
OS-type linkage with R1 -> IHAABDA and R15 -> the module.

Oh oh - I see the 3.8 version does a work area GETMAIN from SP 253, so that's 
not going to work for your average caller. :-(  I don't know if that's still in 
there - maybe zap it to SP 0...?

You could also take the entire MVS 3.8 version and assemble it. But that may 
well not handle storage above 16MB, and the argument list has probably changed 
a bit. And in any case I gather you aren't looking for a program to modify.

Happy Friday!

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-22 Thread Farley, Peter x23353
Of course one can use the SNAP/SNAPX macros to dump storage,  The question was 
not how to dump storage, but whether a "storage dump line format" routine was 
available and accessible to normal programs.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Mike Schwab
Sent: Friday, September 21, 2018 6:47 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?

Callable SNAP routine.
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieav100/snap.htm

On Fri, Sep 21, 2018 at 3:36 PM Farley, Peter x23353 
 wrote:
>
> Thanks for the suggestions.  I have RTFM the LE manuals and CEEDUMP only sets 
> options for the LE dump process, and CEE3DMP generates an actual LE dump 
> output, programs and control blocks and everything set by the dump options, 
> not just s targeted storage area.
>
> The question is purely academic, as I have no immediate need for such an API 
> interface, I am just curious if one actually exists.
>
> And it may exist but not be GUPI, so IBM won't tell us about it, but the 
> expertise on this list might know about it anyway (or not, especially if it 
> doesn't exist).
>
> Peter
>
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Jim Mulder
  IPCS is most assuredly not AMDPRDMP.  IPCS is descended from
an internal tool named RAID (which I think was an acronym as 
well as a reference to a brand of bug killer), which was written by people 

who despised AMDPRDMP.

  As part of the strategy to get rid of AMDPRDMP, IPCS implemented 
some of the AMDPRDMP services (with its own code) so that 
some of the AMDPRDMP verbs (e.g. NUCMAP, MTRACE)  could run 
as VERBEXITs under IPCS.

  IPCS and AMDPRDMP coexisted throughout the MVS/XA releases. 
AMDPRDMP was deleted from the system in MVS/ESA SP3.1.0.

  SYSUDUMP and SYSABEND dumps are really just SNAP dumps,
where it is RTM2 that issues the SNAP macro.  There are some 
internal services owned by IPCS which are used by both IPCS and 
SNAP, so that things like the Control Block Formatting service
and the same control block Models can be used under IPCS 
and SNAP.

  IPCS and SNAP each have their own code for formatting a line
of dumped storage.  There is no common operating system
API.

Jim Mulder z/OS Diagnosis, Design, Development, Test  IBM Corp. 
Poughkeepsie NY

"IBM Mainframe Discussion List"  wrote on 
09/21/2018 04:25:10 PM:

> From: "David W Noon" <013a910fd252-dmarc-requ...@listserv.ua.edu>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Date: 09/21/2018 09:22 PM
> Subject: Re: Is there an API to a "storage dump line" formatting 
routine?
> Sent by: "IBM Mainframe Discussion List" 

> Under the covers, IPCS is really just AMDPRDMP. There is likely a
> subroutine inside AMDPRDMP that formats the print line. Whether that
> subroutine is  callable from another program is an open question: it
> might have an external symbol in the link map of AMDPRDMP that one can
> alias, but then again it might not.
> 
> I am not sure what Peter's original message was about, in terms of
> objective. I assume he wants to be able to format a dump of storage from
> inside a program.
> 
> If such a program is written in PL/I, one can use the HEXIMAGE() and
> TRANSLATE() built-in functions to build the hexadecimal digits and
> dots/characters, with the the asterisks and spaces easily inserted.
> There is even a PLIDUMP() built-in subroutine that can dump areas
> directly, just like a SNAP macro. If for some reason one cannot use
> PL/I, that is not of much use.
> 
> Since PL/I uses LE for much of its run-time support, there is likely a
> CEEDUMP() subroutine one can use from other languages: RTFM!
> -- 
> Regards,
> 
> Dave  [RLU #314465]



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Tony Harminc
On 21 September 2018 at 14:15, Farley, Peter x23353
 wrote:
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.
>
> I think the answer to my question is "no", but I thought it worth asking 
> anyway.
>
> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
> displays like this in a 121-character line:
>
> 36B219C0       
>    **

Or like this in a 204-character line:

36B219C0     
    **

I know of no supported routine, but you could perhaps call IEAVAD71
(which is in LPA module IGC0005A (SVC 51) along with lots of other
stuff, but you could link just that CSECT with your program, I
imagine). This routine formats as much storage as you like, and
handles all the boundary stuff plus insertion of "SAME AS ABOVE" for
replicated lines. The arguments to this routine are described in macro
IHAABDA in SYS1.MODGEN, which has no comment on whether this is a
programming interface. I strongly suspect it isn't, because I found it
only by looking at the MVS 3.8 source code from 1978 or so. [Of course
I don't know that this module is even still in use on modern systems -
it could be baggage that no one has removed.]

Looks like you'd have to set up at least fields ABDBLOCK and ABDLENTH,
ABDBUFAD and ABDBUFS2, and who knows what other things like work areas
it might require. But it would be harmless to try calling it from a
user program. Standard OS-type linkage with R1 -> IHAABDA and R15 ->
the module.

Oh oh - I see the 3.8 version does a work area GETMAIN from SP 253, so
that's not going to work for your average caller. :-(  I don't know if
that's still in there - maybe zap it to SP 0...?

You could also take the entire MVS 3.8 version and assemble it. But
that may well not handle storage above 16MB, and the argument list has
probably changed a bit. And in any case I gather you aren't looking
for a program to modify.

Happy Friday!

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Mike Schwab
Callable SNAP routine.
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieav100/snap.htm
On Fri, Sep 21, 2018 at 3:36 PM Farley, Peter x23353
 wrote:
>
> Thanks for the suggestions.  I have RTFM the LE manuals and CEEDUMP only sets 
> options for the LE dump process, and CEE3DMP generates an actual LE dump 
> output, programs and control blocks and everything set by the dump options, 
> not just s targeted storage area.
>
> The question is purely academic, as I have no immediate need for such an API 
> interface, I am just curious if one actually exists.
>
> And it may exist but not be GUPI, so IBM won't tell us about it, but the 
> expertise on this list might know about it anyway (or not, especially if it 
> doesn't exist).
>
> Peter
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
> Behalf Of David W Noon
> Sent: Friday, September 21, 2018 4:25 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Is there an API to a "storage dump line" formatting routine?
>
> On Fri, 21 Sep 2018 15:34:29 -0400, Tom Conley
> (pinnc...@rochester.rr.com) wrote about "Re: Is there an API to a
> "storage dump line" formatting routine?" (in
> <21fc8189-7c87-a2a3-31ea-3b5acb769...@rochester.rr.com>):
>
> > On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote:
> [snip]>> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format
> >> storage displays like this in a 121-character line:
> >>
> >> 36B219C0     
> >>     **
> [snip]
> > You could call IPCS to display the storage you want.
> Under the covers, IPCS is really just AMDPRDMP. There is likely a
> subroutine inside AMDPRDMP that formats the print line. Whether that
> subroutine is  callable from another program is an open question: it
> might have an external symbol in the link map of AMDPRDMP that one can
> alias, but then again it might not.
>
> I am not sure what Peter's original message was about, in terms of
> objective. I assume he wants to be able to format a dump of storage from
> inside a program.
>
> If such a program is written in PL/I, one can use the HEXIMAGE() and
> TRANSLATE() built-in functions to build the hexadecimal digits and
> dots/characters, with the the asterisks and spaces easily inserted.
> There is even a PLIDUMP() built-in subroutine that can dump areas
> directly, just like a SNAP macro. If for some reason one cannot use
> PL/I, that is not of much use.
>
> Since PL/I uses LE for much of its run-time support, there is likely a
> CEEDUMP() subroutine one can use from other languages: RTFM!
> --
>
>
> This message and any attachments are intended only for the use of the 
> addressee and may contain information that is privileged and confidential. If 
> the reader of the message is not the intended recipient or an authorized 
> representative of the intended recipient, you are hereby notified that any 
> dissemination of this communication is strictly prohibited. If you have 
> received this communication in error, please notify us immediately by e-mail 
> and delete the message and any attachments from your system.
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Farley, Peter x23353
Of course you can do that, and I have done so more than once myself, and 
similar code in COBOL.

My question was not how to do it, but rather whether at this point in the 
operating system's life it has a generic routine to perform that 
storage-formatting function that may be accessible to ordinary application 
writers.

Or not, as the case may be.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Mike Schwab
Sent: Friday, September 21, 2018 6:31 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?

In assembler you could handle the address, then UNPK 5 bytes into 9, translate 
the FA-FF in the 8 bytes and blank the 9th.  Increment by 4 and repeat to fill 
line, and repeat to process address range.

On Fri, Sep 21, 2018 at 1:15 PM Farley, Peter x23353 
 wrote:
>
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.
>
> I think the answer to my question is "no", but I thought it worth asking 
> anyway.
>
> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
> displays like this in a 121-character line:
>
> 36B219C0       
>    **
>
> Obviously there are many ways to produce such a line in your language of 
> choice, but is there any available interface to the system routines that 
> display storage in this format?  Not the I/O to print them or send them to a 
> file, just the "storage dump formatting into a print line" part.
>
> I am of course assuming that the storage formatting routine has been rendered 
> in some common-code subroutine used by all (or some of) the "dumping" 
> routines, which may or may not be a fact.
>
> TIA for your answer even it (as I strongly suspect) the answer is "no".
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Mike Schwab
In assembler you could handle the address, then UNPK 5 bytes into 9,
translate the FA-FF in the 8 bytes and blank the 9th.  Increment by 4
and repeat to fill line, and repeat to process address range.
On Fri, Sep 21, 2018 at 1:15 PM Farley, Peter x23353
 wrote:
>
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.
>
> I think the answer to my question is "no", but I thought it worth asking 
> anyway.
>
> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
> displays like this in a 121-character line:
>
> 36B219C0       
>    **
>
> Obviously there are many ways to produce such a line in your language of 
> choice, but is there any available interface to the system routines that 
> display storage in this format?  Not the I/O to print them or send them to a 
> file, just the "storage dump formatting into a print line" part.
>
> I am of course assuming that the storage formatting routine has been rendered 
> in some common-code subroutine used by all (or some of) the "dumping" 
> routines, which may or may not be a fact.
>
> TIA for your answer even it (as I strongly suspect) the answer is "no".
>
> Peter
> --
>
>
> This message and any attachments are intended only for the use of the 
> addressee and may contain information that is privileged and confidential. If 
> the reader of the message is not the intended recipient or an authorized 
> representative of the intended recipient, you are hereby notified that any 
> dissemination of this communication is strictly prohibited. If you have 
> received this communication in error, please notify us immediately by e-mail 
> and delete the message and any attachments from your system.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Farley, Peter x23353
Thanks Tom.  I didn't consider IPCS for such a task.  I'd have to read up on 
dynamically invoking IPCS to see how much effort that might be.

Interesting idea, but my guess is that it would be a tad heavyweight for an 
application that just wanted to print the contents of some storage in standard 
dump format.  Probably easier and more efficient to re-invent the wheel in your 
own code than to call IPCS.

As I said in an earlier reply, this is purely academic, just a matter of my 
curiosity on a Friday.

Regards,

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Conley
Sent: Friday, September 21, 2018 3:34 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?

EXTERNAL EMAIL

On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote:
> It's Friday, so how about an off-the-wall question I have always wondered 
> about.



Peter,

You could call IPCS to display the storage you want.
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Farley, Peter x23353
Thanks for the suggestions.  I have RTFM the LE manuals and CEEDUMP only sets 
options for the LE dump process, and CEE3DMP generates an actual LE dump 
output, programs and control blocks and everything set by the dump options, not 
just s targeted storage area.

The question is purely academic, as I have no immediate need for such an API 
interface, I am just curious if one actually exists.

And it may exist but not be GUPI, so IBM won't tell us about it, but the 
expertise on this list might know about it anyway (or not, especially if it 
doesn't exist).

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of David W Noon
Sent: Friday, September 21, 2018 4:25 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is there an API to a "storage dump line" formatting routine?

On Fri, 21 Sep 2018 15:34:29 -0400, Tom Conley
(pinnc...@rochester.rr.com) wrote about "Re: Is there an API to a
"storage dump line" formatting routine?" (in
<21fc8189-7c87-a2a3-31ea-3b5acb769...@rochester.rr.com>):

> On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote:
[snip]>> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format
>> storage displays like this in a 121-character line:
>>
>> 36B219C0         
>>     **
[snip]
> You could call IPCS to display the storage you want.
Under the covers, IPCS is really just AMDPRDMP. There is likely a
subroutine inside AMDPRDMP that formats the print line. Whether that
subroutine is  callable from another program is an open question: it
might have an external symbol in the link map of AMDPRDMP that one can
alias, but then again it might not.

I am not sure what Peter's original message was about, in terms of
objective. I assume he wants to be able to format a dump of storage from
inside a program.

If such a program is written in PL/I, one can use the HEXIMAGE() and
TRANSLATE() built-in functions to build the hexadecimal digits and
dots/characters, with the the asterisks and spaces easily inserted.
There is even a PLIDUMP() built-in subroutine that can dump areas
directly, just like a SNAP macro. If for some reason one cannot use
PL/I, that is not of much use.

Since PL/I uses LE for much of its run-time support, there is likely a
CEEDUMP() subroutine one can use from other languages: RTFM!
-- 


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread David W Noon
On Fri, 21 Sep 2018 15:34:29 -0400, Tom Conley
(pinnc...@rochester.rr.com) wrote about "Re: Is there an API to a
"storage dump line" formatting routine?" (in
<21fc8189-7c87-a2a3-31ea-3b5acb769...@rochester.rr.com>):

> On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote:
[snip]>> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format
>> storage displays like this in a 121-character line:
>>
>> 36B219C0         
>>     **
[snip]
> You could call IPCS to display the storage you want.
Under the covers, IPCS is really just AMDPRDMP. There is likely a
subroutine inside AMDPRDMP that formats the print line. Whether that
subroutine is  callable from another program is an open question: it
might have an external symbol in the link map of AMDPRDMP that one can
alias, but then again it might not.

I am not sure what Peter's original message was about, in terms of
objective. I assume he wants to be able to format a dump of storage from
inside a program.

If such a program is written in PL/I, one can use the HEXIMAGE() and
TRANSLATE() built-in functions to build the hexadecimal digits and
dots/characters, with the the asterisks and spaces easily inserted.
There is even a PLIDUMP() built-in subroutine that can dump areas
directly, just like a SNAP macro. If for some reason one cannot use
PL/I, that is not of much use.

Since PL/I uses LE for much of its run-time support, there is likely a
CEEDUMP() subroutine one can use from other languages: RTFM!
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
david.w.n...@googlemail.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Tom Conley

On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote:

It's Friday, so how about an off-the-wall question I have always wondered about.

I think the answer to my question is "no", but I thought it worth asking anyway.

Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
displays like this in a 121-character line:

36B219C0       
   **

Obviously there are many ways to produce such a line in your language of choice, but is 
there any available interface to the system routines that display storage in this format? 
 Not the I/O to print them or send them to a file, just the "storage dump formatting 
into a print line" part.

I am of course assuming that the storage formatting routine has been rendered in some 
common-code subroutine used by all (or some of) the "dumping" routines, which 
may or may not be a fact.

TIA for your answer even it (as I strongly suspect) the answer is "no".

Peter
--


Peter,

You could call IPCS to display the storage you want.

Regards,
Tom Conley

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Gibney, Dave
If I recall correctly, and it has been a very long time, writing such 
formatting code was a very earlier exercise in my first Assembler class. I 
would expect there to ve thousands of instances of similar code out there in 
the wild.

> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Farley, Peter x23353
> Sent: Friday, September 21, 2018 11:15 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Is there an API to a "storage dump line" formatting routine?
> 
> It's Friday, so how about an off-the-wall question I have always wondered
> about.
> 
> I think the answer to my question is "no", but I thought it worth asking
> anyway.
> 
> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format
> storage displays like this in a 121-character line:
> 
> 36B219C0    
>      **
> 
> Obviously there are many ways to produce such a line in your language of
> choice, but is there any available interface to the system routines that 
> display
> storage in this format?  Not the I/O to print them or send them to a file, 
> just
> the "storage dump formatting into a print line" part.
> 
> I am of course assuming that the storage formatting routine has been
> rendered in some common-code subroutine used by all (or some of) the
> "dumping" routines, which may or may not be a fact.
> 
> TIA for your answer even it (as I strongly suspect) the answer is "no".
> 
> Peter
> --
> 
> 
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential. If
> the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by e-mail
> and delete the message and any attachments from your system.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Is there an API to a "storage dump line" formatting routine?

2018-09-21 Thread Farley, Peter x23353
It's Friday, so how about an off-the-wall question I have always wondered about.

I think the answer to my question is "no", but I thought it worth asking anyway.

Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format storage 
displays like this in a 121-character line:

36B219C0       
   **

Obviously there are many ways to produce such a line in your language of 
choice, but is there any available interface to the system routines that 
display storage in this format?  Not the I/O to print them or send them to a 
file, just the "storage dump formatting into a print line" part.

I am of course assuming that the storage formatting routine has been rendered 
in some common-code subroutine used by all (or some of) the "dumping" routines, 
which may or may not be a fact.

TIA for your answer even it (as I strongly suspect) the answer is "no".

Peter
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: MPFLST Msgid Formatting

2018-07-16 Thread ITschak Mugzach
The .MSGCOLOR alters IBM defaults for predefined attributes. It does not
change a specific message attribute. As lizzete already advised, try a
message exit. There are some samples in the CBT TAPE.

ITschak

On Mon, Jul 16, 2018 at 10:47 PM Lizette Koehler 
wrote:

> Unless you have an automation tool like CA OPS/MVS or Tivoli you probably
> have to write an assembler MPF Exit
>
> If you used a z/OS Command provide the complete command and any messages
> produced by that command
>
> Provide the display of the MPF List (cut out any messages other than the
> ones you want to change)
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List  On
> Behalf Of
> > saurabh khandelwal
> > Sent: Monday, July 16, 2018 11:16 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: MPFLST Msgid Formatting
> >
> > Hello Group,
> >
> > I read about message processing facility parmlib member and my
> requirement is
> > that
> >
> > whenever I see msg id  EMS0675E and associated text  in syslog
> >
> > it should reflect into operator console with red color  and should stick
> on
> > that console until operator press enter on that particular msgid.
> >
> > I read about  *MSGCOLOR*  etc but couldn't get exact syntax to add into
> > MPFLST PARMLIB MEMBER.
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: MPFLST Msgid Formatting

2018-07-16 Thread Lizette Koehler
Unless you have an automation tool like CA OPS/MVS or Tivoli you probably have 
to write an assembler MPF Exit

If you used a z/OS Command provide the complete command and any messages 
produced by that command

Provide the display of the MPF List (cut out any messages other than the ones 
you want to change)


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of
> saurabh khandelwal
> Sent: Monday, July 16, 2018 11:16 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: MPFLST Msgid Formatting
> 
> Hello Group,
> 
> I read about message processing facility parmlib member and my requirement is
> that
> 
> whenever I see msg id  EMS0675E and associated text  in syslog
> 
> it should reflect into operator console with red color  and should stick on
> that console until operator press enter on that particular msgid.
> 
> I read about  *MSGCOLOR*  etc but couldn't get exact syntax to add into
> MPFLST PARMLIB MEMBER.
> 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


MPFLST Msgid Formatting

2018-07-16 Thread saurabh khandelwal
Hello Group,

I read about message processing facility parmlib member and my requirement
is that

whenever I see msg id  EMS0675E and associated text  in syslog

it should reflect into operator console with red color  and should stick on
that console until operator press enter on that particular msgid.

I read about  *MSGCOLOR*  etc but couldn't get exact syntax to add into
MPFLST PARMLIB MEMBER.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [External] Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Edward Finnell
There used to be a site that had caricatures of SHARE folk, but I can't find 
it. This is from SHARE blog in Seattle.


https://www.share.org/p/bl/et/blogaid=341
 
In a message dated 7/3/2018 7:46:55 AM Central Standard Time, 
rpomm...@sfgmembers.com writes:

 
I dunno, can't be age. I've seen pictures of you. Don't look like you could be 
a year over 35!!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [EXTERNAL] Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Dyck, Lionel B. (RavenTek)
Agreed - the only thing that would be challenging is remembering that instead 
of executing the program at the top of the allocations that in REXX the 
allocations must come first.

--
Lionel B. Dyck (Contractor)  <
Mainframe Systems Programmer - RavenTek Solution Partners



-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Charles Mills
Sent: Tuesday, July 03, 2018 9:51 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Formatting (was: JCL ERROR : IGD01022I)

Making the wee joke. Ha ha.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Tuesday, July 3, 2018 7:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

The Enya is perfectly  valid in ISO-1 and ISO-15. Would you rather he wrote
it as sennor?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of
Charles Mills 
Sent: Monday, July 2, 2018 6:24 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

There you go using them dang Unicode characters again.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Charles Mills
Making the wee joke. Ha ha.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Tuesday, July 3, 2018 7:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

The Enya is perfectly  valid in ISO-1 and ISO-15. Would you rather he wrote
it as sennor?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of
Charles Mills 
Sent: Monday, July 2, 2018 6:24 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

There you go using them dang Unicode characters again.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Seymour J Metz
Is there an "RFC compliant"  profile option for LISTSERV? Is that 9A regardless 
of charset? WTF is 9A in the charset it used? Was this an individual e-mail or 
digest?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Monday, July 2, 2018 3:28 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

On Mon, 2 Jul 2018 14:55:33 -0400, Edward Finnell wrote:

>I looked at the archives and Senior Jaffe's post appears correctly formatted. 
>It has plain/text and proportional font.
>
In that post of Senior Jaffe's as it was initially distributed to me by 
LISTSERV,
all sequences of multiple blanks were replaced by one fewer x'9A' and one x'20'.
Later, I retrieved the same message with a GETPOST command to LISTSERV
and in the same mail reader all the blanks were blanks.

They can't both be right.  At best, LISTSERV's behavior is inconsistent.  But 
how
can I generate an SR to L-Soft?  I'm not the customer and Darren is inactive.

(Proportional/mono font is selectable in LISTSERV Preferences.)

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Seymour J Metz
The Enya is perfectly  valid in ISO-1 and ISO-15. Would you rather he wrote it 
as sennor?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Charles Mills 
Sent: Monday, July 2, 2018 6:24 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

There you go using them dang Unicode characters again.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ed Jaffe
Sent: Monday, July 2, 2018 3:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

On 7/2/2018 11:55 AM, Edward Finnell wrote:
> I looked at the archives and Senior Jaffe's post appears correctly formatted. 
> It has plain/text and proportional font.

Was this intended to be "Señor Jaffe?" Or was it a comment on my age
and/or experience? ;-)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting

2018-07-03 Thread Seymour J Metz
If you have the ability to save the actual message to a file and you send it to 
me as an attachment, I should be able to tell whether the message is malformed 
or the receiving e-mail client is mangling it. Make sure that your client 
doesn't change the message as it stores it, e.g., by removing trailing spaces, 
stripping header fields.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Peter Hunkeler 
Sent: Tuesday, July 3, 2018 12:38 AM
To: IBM-MAIN@listserv.ua.edu
Subject: AW: Re: Formatting


>My post did not come out as I expected. No flowing. I'm going to shut up.

I concur.

When I read the explanation regarding "leading or trailing" blanks, I thought I 
finally understand. Then came your post, and I'm back to "I don't have a clue 
why it sometimes does work, and sometimes it does not".


--
Peter Hunkeler







--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: [External] Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-03 Thread Pommier, Rex
I dunno, can't be age.  I've seen pictures of you.  Don't look like you could 
be a year over 35!!  

Rex


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ed Jaffe
Sent: Monday, July 2, 2018 3:06 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Formatting (was: JCL ERROR : IGD01022I)

On 7/2/2018 11:55 AM, Edward Finnell wrote:
> I looked at the archives and Senior Jaffe's post appears correctly formatted. 
> It has plain/text and proportional font.

Was this intended to be "Señor Jaffe?" Or was it a comment on my age 
and/or experience? ;-)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Re: Formatting

2018-07-02 Thread Peter Hunkeler

>My post did not come out as I expected. No flowing. I'm going to shut up.

I concur.

When I read the explanation regarding "leading or trailing" blanks, I thought I 
finally understand. Then came your post, and I'm back to "I don't have a clue 
why it sometimes does work, and sometimes it does not".


--
Peter Hunkeler







--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting

2018-07-02 Thread Jesse 1 Robinson
My post did not come out as I expected. No flowing. I'm going to shut up. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Seymour J Metz
Sent: Monday, July 02, 2018 9:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Formatting

> This code looks fine. My experience in posting to IBM-MAIN is that 
>spaces at the beginning *or end*
>  of a line allows the data to look fine. But truncating both leading 
>and trailing spaces causes the List processor to flow lines up to the 
>next 'break',

That sounds seriously b0rken. Can that behavior be turned off, or is it hard 
wired.

BTW, your line 1 -3 appear fine.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Jesse 1 Robinson 
Sent: Sunday, July 1, 2018 7:37 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Formatting

This code looks fine. My experience in posting to IBM-MAIN is that spaces at 
the beginning *or end* of a line allows the data to look fine. But truncating 
both leading and trailing spaces causes the List processor to flow lines up to 
the next 'break', which may be a totally blank line. I try to copy lines from, 
say, syslog, to include trailing blanks. If there are none on a particular 
line, I hit the space bar after the last character.

Sending notes internally with the company does not involve these issues.

These lines have no leading or trailing blanks.

line 1 typed in
line 2 typed in
line 3 typed in

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ed Jaffe
Sent: Sunday, July 01, 2018 4:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Formatting

On 7/1/2018 11:39 AM, Seymour J Metz wrote:
>> I consider RFC 3676 an abomination, totally unsuitable for posting 
>> code samples.
> Why? Do you know of any case where a properly behaving mail client mangles 
> code properly formatted with format=flowed?

AFAIK, I've never had an issue posting code fragments on any list. I'm gonna 
experiment with one right now randomly taken from our local REXX library. What 
am I doing wrong? (Or right?)

/* REXX */
TSMRMM:
   address tso
   /* trace I */
   "bpxbatch sh dsmadmc -id=mvs60 -pa=xx -displ=tab",
 /* "q volhist begindate=TODAY-1 begintime=15:00:00" */ ,
 /* "enddate=TODAY-1 endtime=23:00:00"   */ ,
"q volhist begindate=today" ,
"> /tmp/tsmrmm.qvolhist"
   if rc <> 0 then exit 8
   "allocate dd(tsmrpt) path('/tmp/tsmrmm.qvolhist')",
"recfm(v) lrecl(1024) filedata(text) reuse"
   if rc <> 0 then exit 8
   volcount = 0
   "execio * diskr tsmrpt (stem rptline. open finis"
   do i=1 to rptline.0
 do j = 1 to words(rptline.i)
   if LEFT(WORD(rptline.i,j),6) = "BACKUP" |,
  LEFT(WORD(rptline.i,j),3) = "STG" then,
 do
   do k=j to words(rptline.i)
 if LEFT(WORD(rptline.i,k),4) = "3590" then,
   do
 volcount = volcount + 1
 type.volcount = WORD(rptline.i,j)
 dev.volcount = WORD(rptline.i,k)
 vol.volcount = WORD(rptline.i,k+1)
 leave k
   end
   end
   leave j
 end
 end
   end
   do i=1 to volcount
 say "VolHist:" type.i dev.i vol.i
 select
 when type.i = "STGNEW" |,
  LEFT(type.i,6) = "BACKUP" then,
   do
 rmmcmd = "RMM CV" vol.i "STATUS(MASTER) HOLD",
  "OWNER(TIVSM) RELEASEACTION(ERASE)"
 address tso rmmcmd
 cc = rc
 say "Command:" rmmcmd
 say "RetCode:" cc
 rmmcmd = "RMM CV" vol.i "LOCATION(SHELF)"
 if dev.i ="3590VAULT1" then,
   rmmcmd = "RMM CV" vol.i "MANUALMOVE LOCATION(FRED)"
 address tso rmmcmd
 cc = rc
 say "Command:" rmmcmd
 say "RetCode:" cc
   end
 when type.i = "STGDELETE" then,
   do
 rmmcmd = "RMM CV" vol.i "AUTOMOVE NOHOLD"
 address tso rmmcmd
 cc = rc
 say "Command:" rmmcmd
 say "RetCode:" cc
 rmmcmd = "RMM DV" vol.i "RELEASE"
 .
 . (etc)
 .

--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Formatting (was: JCL ERROR : IGD01022I)

2018-07-02 Thread Edward Finnell
Sort of an amalgamation from long ago posts. Just trying to dodge the lightning 
bolts. Guess it could mean senior techy too.


In a message dated 7/2/2018 5:06:42 PM Central Standard Time, 
edja...@phoenixsoftware.com writes:

 
Was this intended to be "Señor Jaffe?" Or was it a comment on my age 

and/or experience? ;-)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


  1   2   3   >