[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ufhis::siemens_communication

Title:Siemens Connectivity
Notice:FTSIE Contact is Michael Eisenhut @MUC 865-1487
Moderator:UFHIS::MEISENHU
Created:Tue Aug 30 1988
Last Modified:Mon Feb 19 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:195
Total number of notes:512

99.0. "Converting Problem" by NBOSWS::FRIES () Thu Apr 11 1991 10:02

    Hello all,
    
    First of all, I'm not familiar with FTSIE. So this might be a stupid
    question.
    
    A customer of mine gets ASCII files from a BS2000 to his VMS system and 
    wants to print them on his DEC printer.
    
    The problem:
    There are many ASCII 'A' in column 0 which stand for form feeds.
    Needless to say that no DEC printer understands that command.
    Is there an easy way to convert such commands while copying???
    
    Thanks in advance
    Gerald
T.RTitleUserPersonal
Name
DateLines
99.1...no easy wayMUNTRA::SCHIMMELThe Answer Is 42Thu Apr 11 1991 13:2918
Hi,

 this problem seems to be general problem with files being produced
 to be printed using CTLASA standard control characters. (COBOL/FORTRAN-
 output in the EBCDIC world). As I don't find a qualifier for the PRINT
 command to tell the printer how to interpret the characters in col. 1,
 the only way to work around this problem may be to CONVERT/FDL the 
 received file in order to set the record attributes to CARRIAGE_CONTROL
 FORTRAN or PRINT (see RMS docu.). Before, it might be necessary to
 run a self-written program/editor routine over the file in order to replace
 the 'A' formfeed indicator of the source file with the '1' formfeed used
 in FORTRAN files.

 If this way works, you should pack it all into a .COM being started as
 a success action of the FTSIE file transfer. 

Regards
  Helmut
99.2Thanks HelmutNBOSWS::FRIESThu Apr 11 1991 14:5114
Thank You Helmut,

I hacked a little 'C' program which substitutes the 'A' with <FF>.
I thout this would be OK. But:
To convert a 3MB-file lasts about 6 minutes.I can't recognize
column 1 because there are no linefeeds in the file.

I thought of a .com file which converts and prints, but the cutomer said.
"Das dauert mir zu lang!!"

So I think, there's no easy (and fast) way to do that job.

Any other hints?
Gerald