i have variable record in the 5th, i want to sort from 5th filed ? how ?
Answers were Sorted based on User's Feedback
The question is not clear.
What is the column# of the fifth field in the 5th variable record ?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chandu
USE sort card for this.
sort fields=copy,stopaft=??,skiprec=5
| Is This Answer Correct ? | 2 Yes | 3 No |
What is SDSF?
How do u know what version of cobol u are using?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.
Can the OCCURS clause be at the 01 level?
Why we are using comp and comp-3 in real time projects?
What is the mode in which you will OPEN a file for writing?
Explain what you understand by passing by value.
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
What are subroutines ? and how do we pass data to the sub routines?
What is the reference modification.
i want to store 20 digits . h will u do it in cobol ?