Re: How do I do this.... Syncsort with E15 exit, input is VB, output is FB




Input Procedure ?



"tampascorpion" <scorpion@xxxxxxxxxxxxxxx> wrote in message
news:1179783649.965877.297750@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ok experts, got a doosie for you all.....

I have been given the task of taking a COBOL program, convert it to an
E15 Syncsort exit. The trick is that the input (to the COBOL pgm) is
VB and the output from the sort is to be FB.

The flow before was VB -> COBOL -> FB -> sort -> FB
now it will be VB -> sort /w E15 COBOL exit -> FB

When I try to run it with no TYPE=V in the sort card it tells me that
the TYPE is missing, but then when I add the TYPE (and record size)
then I get an incompatible RECFM on the SORTOUT.

So I tried to put an OUTREC so I could convert from VB to FB, and when
I ran I got a S0C4.

HELP!!!! The syncsort manual doesn't show a clear (at least to me)
example and my deadline is short (but what's new in the development
world).


Here's what I have in my Sysin for the sort (edited to save space and
remove pgm name)

SORT FIELDS=(field specs)
RECORD TYPE=V,LENGTH=(4504,4530,)
OUTREC FIELDS=(1,4504),CONVERT
MODS E15=(cobolpgmname,128,MODLIB,N)



.



Relevant Pages

  • Re: Combining Fields From Files Without COBOL Pgm?
    ... installing a COBOL program into production ... >would require installing JCL for the new jobstep. ... I wonder, Mr Trembley. ... sort or a JCL step or would you just cobble together an external sort? ...
    (comp.lang.cobol)
  • Re: How does the SORT statement work?
    ... What may be confusing you is that INPUT PROCEDURE and USING are *mutually ... exclusive* in the same SORT statement, as are OUTPUT PROCEDURE and GIVING. ... COLLATING SEQUENCE specifies the collating sequence by which the ...
    (comp.lang.cobol)
  • Re: Set a file variable to another
    ... If your system allows you to set a file name at run-time, you could do that and open the right file as part of your generic reading routine. ... If your input data needs to be sorted, call SORT using an input procedure that will read the right file and do the generic processing in the output procedure. ...
    (comp.lang.cobol)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Internal Sorts
    ... > System loads program, program loads sort ... The sort PROCESS is handled by a module of already-loaded system ... a COBOL program to create a file and catalog it on disk. ...
    (comp.lang.cobol)