home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.tandy      Life is dandy cuz you're gettin a Tandy!      5,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,109 of 5,684   
   Frank Durda IV to Ira   
   Re: JCL files from XP   
   31 May 06 18:55:24   
   
   From: uhclemLOSE.jun06@nemesis.lonestar.org   
      
   Ira  wrote:   
   : My problem with this is that each time I try to create a JCL file   
   : using an XP editor, the JCL file never runs in the emulator.  I am   
   : pretty sure that it has to do with needing an 0A0D (LF and CR) on the   
   : TRS-80, but that XP only generates the 0D.   
      
   I'm hoping you have that backwards - in ASCII files, TRSDOSes usually store   
   only 0x0d (CR) as a line separator, whereas DOS/Windows have both   
   0x0d (CR) followed by 0x0a (LF) and UNIX usually only uses 0x0a (LF).   
      
   This is why Tandy/Radio Shack printers had to have a switch to   
   convert a received CR into CR/LF so the paper would ever advance.   
      
      
   Find yourself a copy of "sed" - it is freely available for Windows in the   
   GNU software collection.  It can be used to find 0x0d 0x0a sequences and   
   change them into something else.   The VI editor can also do this, but it   
   it is harder to automate, and learning vi substitution rules for control   
   characters can take some time.   
      
   Also, some TRSDOSes and some applications place a 0x1a (SUB aka CTRL-Z)   
   as the last character of ASCII files.   Not having this character present   
   may be a factor in the JCL not running if it is compiled.   I suggest   
   creating a very simple one or two line JCL script with only library   
   commands OR doing a no-compile JCL run (I think that was DO = filename/JCL)   
   and see if you can get that to work.   
      
   Information on ASCII control character assignments:   
   http://nemesis.lonestar.org/reference/telecom/codes/ascii.html   
      
      
   Frank Durda IV - only this address works:|"The Knights who say "LETNi"   
     | demand... A SEGMENT REGISTER!!!"   
   You must remove the "LOSE" to mail me.   |"A what?"   
   	http://nemesis.lonestar.org      |"LETNi! LETNi! LETNi!" - 1983   
   Copr. 2006, ask before reprinting.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca