× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




I've used the WSCST listed to create ASCII files from a *AFPDS spool:


the text retrieved are correct but, in the file stream generated,
the
blank rows are not present;

in the spool, retrieved with QSPGETSP
api,
are present X'2BD3' escape sequence followed by X'04C6' Absolute
Move
Inline and X'04D2' Absolute Move Baseline hexadecimal code, that
, I
think, they define a line feed and carriage return in spool.


Someone
can help me to modify the WSCST in order to obtain the CR LF
lost.


Thanks



--- On Thu, 26 Jun 2008 , Goran Saric
<goran_saric@xxxxxxxxx>
wrote:


In the meantime I managed to create
ascii files from afpds
spooled files. It took some experimenting with
the tags, but now it's
finally working. If anybody is interested, here
is the source code for
WSCST object I'm using:

:WSCST
DEVCLASS=TRANSFORM.
:TRNSFRMTBL.
:SPACE

DATA ='20'X.
:LINEFEED
DATA
='0A'X.
:VERAMOV
VAROFFSET = 0
VARLEN = 0

VARTYPE = CHRDEC
CNVNUM = 1

CNVDEN = 720
DATA = '0D0A'X.
:EWSCST.

I
use IBM supplied command
HPTTOFLR (delivered "as is") and the above
defined WSCST object to
create ASCII files in QDLS.

Thanks,
Goran





_______________________________________________________________

Vuoi fare un regalo di Compleanno a un bambino, un adolescente o un adulto?

Trova online il regalo giusto per chi compie gli anni! Tiscali Shopping ti propone

tante idee interessanti

http://shopping.tiscali.it/c-100424623-regali-di-compleanno.html

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.