Re: VBM to VBA?

2008-10-20 Thread Rick Fochtman

---snip---
Yeah Gil..ur right it was IEBGENER...But I heard it could not produce 
desired output from VBA to FB

---unsnip---
I've never seen any IBM utility that would convert from variable to 
fixed, or convert the carriage control characters. I've always use a RYO 
utility, custom built, for those transitions.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-20 Thread Paul Gilmartin
On Mon, 20 Oct 2008 10:13:26 -0500, Rick Fochtman wrote:

I've never seen any IBM utility that would convert from variable to
fixed, ...

Have you tried REPRO?

  ..., or convert the carriage control characters. I've always use a RYO
utility, custom built, for those transitions.

That, I don't know.  I'd not bet on REPRO.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-19 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/13/2008
   at 09:40 PM, Scott Ford [EMAIL PROTECTED] said:

I used IEBCOPY to go from VBA to FB,

I might believe IEBGENER or IEBPTPCH, but definitely not IEBCOPY. 
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-19 Thread Paul Gilmartin
On Sun, 19 Oct 2008 09:30:02 -0400, Shmuel Metz (Seymour J.) wrote:

In [EMAIL PROTECTED], on 10/13/2008
   at 09:40 PM, Scott Ford said:

I used IEBCOPY to go from VBA to FB,

I might believe IEBGENER or IEBPTPCH, but definitely not IEBCOPY.

My favorite for copying among dislike attributes is IDCAMS REPRO
(AKA TSO REPRO).  But I've not tried it for the desired$ M==A
transmogrification.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-19 Thread Scott Ford
Yeah Gil..ur right it was IEBGENER...But I heard it could not produce
desired output from VBA to FB

Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Gilmartin
Sent: Sunday, October 19, 2008 9:20 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

On Sun, 19 Oct 2008 09:30:02 -0400, Shmuel Metz (Seymour J.) wrote:

In [EMAIL PROTECTED], on 10/13/2008
   at 09:40 PM, Scott Ford said:

I used IEBCOPY to go from VBA to FB,

I might believe IEBGENER or IEBPTPCH, but definitely not IEBCOPY.

My favorite for copying among dislike attributes is IDCAMS REPRO
(AKA TSO REPRO).  But I've not tried it for the desired$ M==A
transmogrification.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Robert A. Rosenberg

At 15:43 -0500 on 10/13/2008, John McKown wrote about VBM to VBA?:


Is there a simple way to convert a DASD dataset which is RECFM=VBM (or FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.


There are two ways to do the conversion - The Simple Way and the Complex way.

As others have noted M prints the line and then moves the paper. A 
moves the paper and then prints the line.


The Simple way is to take the M code and convert it to the A code for 
Print a Line with No Paper Movement. You the emit a Paper advance 
with a Blank Line (if VBA this is a 6 byte line) or with Advance with 
no Print. I forget if there are separate codes for Print/No Print - I 
DO know that there is a Code for Print with No Paper Advance since it 
was used for BOLDING and Underlining. With FBA you will end up 
doubling the size of the file with this method since each line is now 
two lines (Print and Movement) to get the same result as the M code.


The Complex Method is to keep track of where you are on the Page and 
append the correct A Code to the next line based on the M code of the 
prior line. This produces a smaller file (with FBA) since you end up 
with the same number of lines.


As to end of page, I will assume that there are NO SKIP-TO-CHANNELs 
aside from SKIP-TO-CHANNEL-1s. This means that so long as the program 
that created the original Printout was counting lines and doing the 
New Page Code injection, you are OK. If, OTOH, the file STARTS with a 
New Page and then just has lines, it is replying on the printer to 
automatically do the New Page at the end of each page (ie: Detection 
of Channel 12) and you will need to do the same (ie: Count lines and 
New Page when the count gets to 60).


I may have missed something but others here can build on my methodology.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Dave Cartwright
On Mon, 13 Oct 2008 19:10:53 -0500, John McKown [EMAIL PROTECTED] 
wrote:


Luckily, this is not going to be printed. It's going to be placed in a
report repository on a Intel server. Wouldn't be __my__ choice, but the
same type of software on z costs considerably more money. And we are in a
budget crunch (like, who isn't?).



In that case I recommend my CHEW external writer type program in file 172 of 
the CBT tape.  This reads spool and writes a flat file which can be ftp'ed to a 
server.  The price is right, too.

HTH
Dave

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Jim Marshall
Is there a simple way to convert a DASD dataset which is RECFM=VBM (or 
FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not 
understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when 
the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.

Seems I remember wanting to do back in the 1970s and others too. I know 
the External Writer program accomplishes it. Another place I always look first 
is the CBT Tape  www.cbttape.orgSee file 414 for a utility from Rick 
Fochtman with a bit of help.  Never used it but the price is right. 

jim 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Paul Gilmartin
On Tue, 14 Oct 2008 01:54:07 -0400, Robert A. Rosenberg wrote:

The Simple way is to take the M code and convert it to the A code for
Print a Line with No Paper Movement. You the emit a Paper advance
with a Blank Line (if VBA this is a 6 byte line) or with Advance with

What happens if you emit a 5-byte record (carriage control with no
other data)?  In principle this would result in a CCW with a count
of zero, which I know is invalid.  But is the JES printer driver
smart enough to convert it to something legal?  I recall that
decades ago a 4-byte record (neither carriage control nor data)
caused an ABEND somewhere in the access method.  But it's been
reported here that was subsequently fixed.

no Print. I forget if there are separate codes for Print/No Print

I know of none.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Scott Ford
All,

Whats the easy way to read an output sysprint 
Dataset I created with IDCAMS. It is in VBA format.
LRECL=240 and a BLKSIZE = 3120. My problem is that the program that must
open it is in Enterprise Cobol 3.4. I have tried several combinations of
FD records varying , etc, cant seem to open it, usually get a open status
35...Can someone be so kind to shed some light on this one..

All my thanks

Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Rick Fochtman
Sent: Tuesday, October 14, 2008 11:43 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

Glad to be of help. :-)

John McKown wrote:

On Mon, 13 Oct 2008 17:08:19 -0500, Rick Fochtman [EMAIL PROTECTED]
wrote:
  

Somewhere I have a simple-minded utility to do exactly that. I'll see if
I can find it and send it to you privately.



Rick,

Many thanks. I just compiled your program and ran it against an example
file. It worked wonderfully.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


  


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Scott Ford
John,
Thanks for the help, it worked perfect...

Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.


-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of John McKown
Sent: Tuesday, October 14, 2008 12:12 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

This is how I do it, to read SYSLOG datasets.

FD  SYSLOG-INPUT
BLOCK CONTAINS 0 RECORDS
LABEL RECORDS ARE STANDARD
RECORDING MODE IS V
RECORD IS VARYING IN SIZE FROM 1 TO 133 CHARACTERS
DEPENDING ON SYSLOG-INPUT-RECORD-LENGTH.

01  SYSLOG-RECORD-MINIMUM PIC X.

01  SYSLOG-RECORD-MAXIMUM PIC X(133).
...
WORKING-STORAGE SECTION.
77  SYSLOG-FILE-STATUSPIC XX.
77  REPORT-FILE-STATUSPIC XX.
77  SYSLOG-INPUT-RECORD-LENGTHPIC 9(4) BINARY.
...
77  SYSLOG-RECORD-FIXED  PIC X(133).
...

READ SYSLOG-INPUT
 AT END SET EOF-ON-SYSLOG TO TRUE
END-READ
IF EOF-ON-SYSLOG THEN GOTO READ-SYSLOG-EOF
END-IF
MOVE SYSLOG-RECORD-MAXIMUM(1:SYSLOG-INPUT-RECORD-LENGTH)
  TO SYSLOG-RECORD-FIXED.
...

much cut down in size, but the basic principles are there.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Scott Ford
Thanks John,

I will give this a try. I appreciate all the help

Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.


-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of John McKown
Sent: Tuesday, October 14, 2008 12:12 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

This is how I do it, to read SYSLOG datasets.

FD  SYSLOG-INPUT
BLOCK CONTAINS 0 RECORDS
LABEL RECORDS ARE STANDARD
RECORDING MODE IS V
RECORD IS VARYING IN SIZE FROM 1 TO 133 CHARACTERS
DEPENDING ON SYSLOG-INPUT-RECORD-LENGTH.

01  SYSLOG-RECORD-MINIMUM PIC X.

01  SYSLOG-RECORD-MAXIMUM PIC X(133).
...
WORKING-STORAGE SECTION.
77  SYSLOG-FILE-STATUSPIC XX.
77  REPORT-FILE-STATUSPIC XX.
77  SYSLOG-INPUT-RECORD-LENGTHPIC 9(4) BINARY.
...
77  SYSLOG-RECORD-FIXED  PIC X(133).
...

READ SYSLOG-INPUT
 AT END SET EOF-ON-SYSLOG TO TRUE
END-READ
IF EOF-ON-SYSLOG THEN GOTO READ-SYSLOG-EOF
END-IF
MOVE SYSLOG-RECORD-MAXIMUM(1:SYSLOG-INPUT-RECORD-LENGTH)
  TO SYSLOG-RECORD-FIXED.
...

much cut down in size, but the basic principles are there.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Rick Fochtman

Glad to be of help. :-)

John McKown wrote:


On Mon, 13 Oct 2008 17:08:19 -0500, Rick Fochtman [EMAIL PROTECTED] wrote:
 


Somewhere I have a simple-minded utility to do exactly that. I'll see if
I can find it and send it to you privately.
   



Rick,

Many thanks. I just compiled your program and ran it against an example
file. It worked wonderfully.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


 



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread John McKown
This is how I do it, to read SYSLOG datasets.

FD  SYSLOG-INPUT
BLOCK CONTAINS 0 RECORDS
LABEL RECORDS ARE STANDARD
RECORDING MODE IS V
RECORD IS VARYING IN SIZE FROM 1 TO 133 CHARACTERS
DEPENDING ON SYSLOG-INPUT-RECORD-LENGTH.

01  SYSLOG-RECORD-MINIMUM PIC X.

01  SYSLOG-RECORD-MAXIMUM PIC X(133).
...
WORKING-STORAGE SECTION.
77  SYSLOG-FILE-STATUSPIC XX.
77  REPORT-FILE-STATUSPIC XX.
77  SYSLOG-INPUT-RECORD-LENGTHPIC 9(4) BINARY.
...
77  SYSLOG-RECORD-FIXED  PIC X(133).
...

READ SYSLOG-INPUT
 AT END SET EOF-ON-SYSLOG TO TRUE
END-READ
IF EOF-ON-SYSLOG THEN GOTO READ-SYSLOG-EOF
END-IF
MOVE SYSLOG-RECORD-MAXIMUM(1:SYSLOG-INPUT-RECORD-LENGTH)
  TO SYSLOG-RECORD-FIXED.
...

much cut down in size, but the basic principles are there.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread John McKown
On Mon, 13 Oct 2008 17:08:19 -0500, Rick Fochtman [EMAIL PROTECTED] wrote:
Somewhere I have a simple-minded utility to do exactly that. I'll see if
I can find it and send it to you privately.

Rick,

Many thanks. I just compiled your program and ran it against an example
file. It worked wonderfully.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-14 Thread Chase, John
 -Original Message-
 From: IBM Mainframe Discussion List On Behalf Of Chris Mason
 
 To all subscribers
 
 Mea maxima culpa!
 
 Some things the spell-checker will not spot. Of course your -
 you're - and
 to think in the past I have criticised some for the odd there for
 their or vice
 versa or and possibly the odd its for it's and vice versa. I'd
 better do some beam casting!

You are forgiven.  Just don't post a sign in your front yard advertising
Puppy's For Sale.  :-)

-jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



VBM to VBA?

2008-10-13 Thread John McKown
Is there a simple way to convert a DASD dataset which is RECFM=VBM (or FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Chris Mason
John

I think your in trouble - or you can roll up your sleeves and get programming - 
in your favourite language.

I remembered that the difference between A and M is that one prints and then 
moves the print carriage while the other moves the print carriage and then 
prints. I guess you can see that this negates your simple.

Well, I hate knowing only half the story so I jumped into the DFSMS shelf and 
found the matter explained - in APPENDIX1.3 Appendix C. Control Characters 
of z/OS V1R10.0 DFSMS Macro Instructions for Data Sets.

In the table of the codes in APPENDIX1.3.1 Machine Code we find

Print--Then Act 

and in the table of codes in APPENDIX1.3.2 ISO/ANSI we find

Action before Printing a Line

So now I'm happy - but I suspect you will not be!

Chris Mason

On Mon, 13 Oct 2008 15:43:58 -0500, John McKown [EMAIL PROTECTED] 
wrote:

Is there a simple way to convert a DASD dataset which is RECFM=VBM (or 
FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not 
understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when 
the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.

--
John

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Rick Fochtman

-snip---


Is there a simple way to convert a DASD dataset which is RECFM=VBM (or FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.
 


--unsnip---
Somewhere I have a simple-minded utility to do exactly that. I'll see if 
I can find it and send it to you privately.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Paul Gilmartin
On Mon, 13 Oct 2008 16:44:27 -0500, Chris Mason wrote:

I think your in trouble - or you can roll up your sleeves and get programming -
in your favourite language.

I remembered that the difference between A and M is that one prints and then
moves the print carriage while the other moves the print carriage and then
prints. I guess you can see that this negates your simple.

Well, I hate knowing only half the story so I jumped into the DFSMS shelf and
found the matter explained - in APPENDIX1.3 Appendix C. Control Characters
of z/OS V1R10.0 DFSMS Macro Instructions for Data Sets.

In the table of the codes in APPENDIX1.3.1 Machine Code we find

Print--Then Act 

and in the table of codes in APPENDIX1.3.2 ISO/ANSI we find

Action before Printing a Line

So now I'm happy - but I suspect you will not be!

And one more thing.  IBM printers ignore an initial page
eject (the rule is more complicated, but this is the
effect).  Many UNIX and PC printers honor the initial
formfeed.  At best, this wastes a leaf when printing
single-sided.  The effect when printing two-sided is
more irritating -- the even numbered pages appear in
front; the odd numbered in back.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Rick Fochtman
Paul, that's not true. The printer has no way of knowing whether it's a 
initial page eject or not. Some programming languages will spit an 
extra page eject, like PL/1 does, but the basic printer isn't that smart.


Paul Gilmartin wrote:


On Mon, 13 Oct 2008 16:44:27 -0500, Chris Mason wrote:
 


I think your in trouble - or you can roll up your sleeves and get programming -
in your favourite language.

I remembered that the difference between A and M is that one prints and then
moves the print carriage while the other moves the print carriage and then
prints. I guess you can see that this negates your simple.

Well, I hate knowing only half the story so I jumped into the DFSMS shelf and
found the matter explained - in APPENDIX1.3 Appendix C. Control Characters
of z/OS V1R10.0 DFSMS Macro Instructions for Data Sets.

In the table of the codes in APPENDIX1.3.1 Machine Code we find

Print--Then Act 

and in the table of codes in APPENDIX1.3.2 ISO/ANSI we find

Action before Printing a Line

So now I'm happy - but I suspect you will not be!

   


And one more thing.  IBM printers ignore an initial page
eject (the rule is more complicated, but this is the
effect).  Many UNIX and PC printers honor the initial
formfeed.  At best, this wastes a leaf when printing
single-sided.  The effect when printing two-sided is
more irritating -- the even numbered pages appear in
front; the odd numbered in back.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


 



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Ed Finnell
 
In a message dated 10/13/2008 5:27:39 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

initial page eject or not. Some programming languages will spit an  
extra page eject, like PL/1 does, but the basic printer isn't that  smart.



Well I don't know about all printers but  3900's have Skip to front facing. 
Which really works...





**New MapQuest Local shows what's happening at your destination.  
Dining, Movies, Events, News  more. Try it out 
(http://local.mapquest.com/?ncid=emlcntnew0002)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Richard Peurifoy

Rick Fochtman wrote:
Paul, that's not true. The printer has no way of knowing whether it's a 
initial page eject or not. Some programming languages will spit an 
extra page eject, like PL/1 does, but the basic printer isn't that smart.


Paul Gilmartin wrote:




And one more thing.  IBM printers ignore an initial page
eject (the rule is more complicated, but this is the
effect).  Many UNIX and PC printers honor the initial
formfeed.  At best, this wastes a leaf when printing
single-sided.  The effect when printing two-sided is
more irritating -- the even numbered pages appear in
front; the odd numbered in back.


Actually the channel attached printers (1403, 3211, etc)
are that smart.

If the printer is at top of form (channel one in FCB
or carriage tape for older printers) the printer ignores
a skip to channel one. I suspect this is true of the other
channels as well, but don't remember.

Just noticed I have channels in two different contexts, but
I think this is clear.

--
Richard

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Paul Gilmartin
On Mon, 13 Oct 2008 17:26:58 -0500, Rick Fochtman wrote:

Paul, that's not true. The printer has no way of knowing whether it's a
initial page eject or not. Some programming languages will spit an
extra page eject, like PL/1 does, but the basic printer isn't that smart.

I said it was more complicated.

Paul Gilmartin wrote:

And one more thing.  IBM printers ignore an initial page
eject (the rule is more complicated, but this is the
effect).  Many UNIX and PC printers honor the initial
formfeed.  At best, this wastes a leaf when printing
single-sided.  The effect when printing two-sided is
more irritating -- the even numbered pages appear in
front; the odd numbered in back.

The rule, as I recall it (I can't find any current doc,
but this is the sort of thing that's unlikely to change
incompatibly), is that if

o The current CCW op is SKIP IMMEDIATE (which the
  printer has a way of knowing)

o The previous CCW op was _not_ PRINT NOSPACE (which
  the printer has a way of knowing)

o The paper is currently positioned at the selected
  channel (which the printer has a way of knowing)

no paper motion occurs.  If the separator page ended
with a SKIP TO CHANNEL 1, an initial SKIP TO CHANNEL 1
is effectively ignored.  Also, multiple consecutive SKIP
IMMEDIATE to the same channel are in effect collapsed
to a single SKIP, so SKIP IMMEDIATE may fail to generate
blank pages.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Chris Mason
To all subscribers

Mea maxima culpa!

Some things the spell-checker will not spot. Of course your - you're - and 
to think in the past I have criticised some for the odd there for their or 
vice 
versa or and possibly the odd its for it's and vice versa. I'd better do 
some 
beam casting!

Chris Mason

On Mon, 13 Oct 2008 16:44:27 -0500, Chris Mason 
[EMAIL PROTECTED] wrote:

I think your in trouble ...
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Rick Fochtman

--snip
Well I don't know about all printers but 3900's have Skip to front facing.

Which really works...
---unsnip-
Assuming that the form is loaded correctly. :-)

I can't speak for the 3800/3900 series printers, but the old 3211/1403 
weren't that smart. :-)


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread John McKown
On Mon, 13 Oct 2008, Paul Gilmartin wrote:

 And one more thing.  IBM printers ignore an initial page
 eject (the rule is more complicated, but this is the
 effect).  Many UNIX and PC printers honor the initial
 formfeed.  At best, this wastes a leaf when printing
 single-sided.  The effect when printing two-sided is
 more irritating -- the even numbered pages appear in
 front; the odd numbered in back.
 
 -- gil

Luckily, this is not going to be printed. It's going to be placed in a 
report repository on a Intel server. Wouldn't be __my__ choice, but the 
same type of software on z costs considerably more money. And we are in a 
budget crunch (like, who isn't?).

-- 
Q: What do theoretical physicists drink beer from?
A: Ein Stein.

Maranatha!
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Paul Gilmartin
On Mon, 13 Oct 2008 18:52:33 -0500, Rick Fochtman wrote:

--snip
Well I don't know about all printers but 3900's have Skip to front facing.

Which really works...
---unsnip-
Assuming that the form is loaded correctly. :-)

I can't speak for the 3800/3900 series printers, but the old 3211/1403
weren't that smart. :-)

But they only print on one side anyway!

Yah, I know what you mean about the creases.  But if the
form is loaded wrong, there's a tedious manual procedure
to correct it after the fact.  BTDT.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Scott Ford
I used IEBCOPY to go from VBA to FB, no problem...
Not sure about VBM, haven't tried it..

Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Rick Fochtman
Sent: Monday, October 13, 2008 6:08 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

-snip---

Is there a simple way to convert a DASD dataset which is RECFM=VBM (or FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.
  

--unsnip---
Somewhere I have a simple-minded utility to do exactly that. I'll see if 
I can find it and send it to you privately.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Rick Fochtman
IEBCOPY will not change the carriage control character in data lines. 
You've been lucky in converting VB to FB format; don''t build any 
dependance on it or you may get burned.


Scott Ford wrote:


I used IEBCOPY to go from VBA to FB, no problem...
Not sure about VBM, haven't tried it..

Scott Ford
Senior Systems Engineer


[p] 678.266.3399 x304[m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Rick Fochtman
Sent: Monday, October 13, 2008 6:08 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: VBM to VBA?

-snip---

 


Is there a simple way to convert a DASD dataset which is RECFM=VBM (or FBM)
to VBA (or FBA)? We are converting a lot of reports to be ftp'ed to a
Windows platform. The program on the Windows platform does not understand
machine control and needs the ftp to convert from ANSI control to the
appropriate Windows control sequences the way that it does for VBA when the
ASAPRINT option is used. In particular, the program needs a control L
(form feed) to delimit the pages of the report.


   


--unsnip---
Somewhere I have a simple-minded utility to do exactly that. I'll see if 
I can find it and send it to you privately.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


 



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: VBM to VBA?

2008-10-13 Thread Ed Finnell
 
In a message dated 10/13/2008 7:28:28 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

But they only print on one side anyway!

Yah, I know what you  mean about the creases.  But if the
form is loaded wrong, there's a  tedious manual procedure
to correct it after the fact.   BTDT.



They were duplex capable, but velly expensive  options.
_http://www.rainbowcomputer.net/pages/products/ibm/ibm_3900.html_ 
(http://www.rainbowcomputer.net/pages/products/ibm/ibm_3900.html) 
 
There were also those big honkin ream feeders,  but our operators were
scared to even look...me too I  guess.
 
_http://www.rollsystems.com/1-RolltoRoll.html_ 
(http://www.rollsystems.com/1-RolltoRoll.html) 




**New MapQuest Local shows what's happening at your destination.  
Dining, Movies, Events, News  more. Try it out 
(http://local.mapquest.com/?ncid=emlcntnew0002)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html