i have variable record in the 5th, i want to sort from 5th filed ? how ?

Answer Posted / chandu

USE sort card for this.

sort fields=copy,stopaft=??,skiprec=5

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

814


What is report-item in COBOL?

711


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

825


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


How are the next sentence and continue different from each other?

766






what is the difference between COBOL2 AND COBOL390?

2453


What is rmode(any) ?

686


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

10620


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

803


Difference between array and sub-script ?

1167


how do you define single dimensional array and multidimensional array in your cobol?

677


Which mode is used to operate the sequential file?

669


What are declaratives and what are their uses in cobol?

714


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


Are you comfortable in cobol or jcl?

643