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

explain sorting techniques in cobol program?

684


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


What are the pertinent COBOL

2035


What are the pertinent COBOL commands?

2618


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718






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...)

1915


What is the difference between binary search and sequential search?

634


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

529


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


What is link edit in cobol?

736


Can a Search can be done on a table with or without Index?

798


What is rmode(any) ?

676


For rewrite, why is it mandatory that file needs to be opened?

616


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10554


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1948