i have a sequencial file contains multiple records, i want
to extract one row which contains various fields like order
number,date,warehouse,.ect.. in to the another file by
accepting the order number from jcl. how can i do it. pls
help me..

Answer Posted / kk

hi,
its possible to both jcl and cobol.in jcl using sort
utilities sort fields=(1,orderno size,bi,a)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

865


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

628


What type of SDLC u followed? Why?

1730


What are literals?

861


How you can characterize tables in cobol?

930


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2365


In COBOL, what is the different between index and subscript?

954


What is comp-1 and comp-2?

946


how do you reference the variable unblock file formats from cobol programs

1010


What is difference between static and dynamic call in cobol?

1036


What is the difference between structured cobol programming and object alternativelyiented cobol?

998


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

921


how to convert the recors form vsam file to db2 table tru file aid

2982


) what is the difference between AID and HANDLE AID?

1891


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2143