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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1476.0. "MERGEing FORTRAN files - how?" by INFACT::BEVIS (This Foolishness Surely Offends me) Tue Sep 22 1992 17:38

    While putting together a simple boilerplate to wrap some IBM JCL around
    a text file (created with FORTRAN carriage control, i.e., "1"s in
    column #1 to force page breaks), I discovered that ALL-IN-1 is quite
    happy to read this file and merge it, but that the "1"s are converted
    to "normal" Form-feed characters.
    
    I would like to retain the original file format and before embarking on
    lots of combinations of RMS attribute/file extension/FDL conversion
    changes I thought I'd check to see if anyonw has dealt with this
    before.  (There are no FORTRAN or Carriage-control note titles in this
    conference).
    
    Don
T.RTitleUserPersonal
Name
DateLines
1476.1Post your BLP and indicate what you *really* want?SANFAN::LESLIE_DAGreetings & SolutionsTue Sep 22 1992 19:0512
    Please post the basics of your BLP (it may help to determine what needs
    to happen to maintain your formatting).
    
    I would recommend not doing include of the file in your BLP (as
    ALL-IN-1 will create output in a format it understands (and I don't
    think FORTRAN carriage control is one of them).
    
    What are you trying to accomplish with the output file?  Does it *need*
    to be in FORTRAN carriage control format?
    
    Other ideas?
Dan
1476.2The brute-force solutionINFACT::BEVISThis Foolishness Surely Offends meTue Sep 22 1992 19:5327
    What I'm doing is inserting a text file, basically the following;
    
    ------------------------------------------------------------
    //jcl statement
    //jclstatement <#symbol1>
    
    <&INCLUDE printfile.txt>
    
    //jclstatement <#othersymbol>
    //jclstatement
    ------------------------------------------------------------
    Where printfile.txt is a file created with FORTRAN carriage control.  I
    found that MERGE JCL.BLP, RESULT.TXT produces the results of the
    preceding boilerplate, but ALL-IN-1 produces <FF> characters where the
    FORTRAN carriage-control ("1" in column 1) had been in printfile.txt.
    
    In order to get the IBM printer to correctly process page-breaks, it
    was necessary to generate FORTRAN carriage control.  There does not
    seem to be a way for the SNA gateway to properly convert <FF>
    characters into page-breaks.
    
    At the moment, I am now merging TWO .BLPS, then DCL COPYing two halves
    of the JCL with the FORTAN file in between - which works, although it
    isn't pretty.   I suppose an ALL-IN-1 APPEND may work as well, but I
    didn't try that.
    
    Don
1476.3Might not be ALL-IN-1IOSG::TALLETTArranging bits for a living...Tue Sep 22 1992 21:448
    
    	I'm not sure I understood correctly, but if you created a file
    	with FORTRAN carriage control characters and the RMS attributes
    	set, then RMS will convert the control chars before ALL-IN-1
    	even sees them...
    
    Regards,
    Paul