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

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


How do you reference the following file formats from cobol programs?

695






What is the difference between goback, stop run and exit program in cobol?

932


Are you comfortable in cobol or jcl?

643


example for sub strings ? and refernce modifications whit output pls

1846


how do you reference the rrds file formats from cobol programs

801


What is the difference between binary search and sequential search?

643


Which division and paragraphs are mandatory for a COBOL program?

709


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

632


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


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

423