if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answers were Sorted based on User's Feedback
Answer / bhaskar reddy
//sysin dd*
sort fields=copy
stopaft=100
/*
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / rv rocks
using iceman utility we can copy the 1st 100 records .
//sysin dd *
option copy, stopaft=100
/*
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the Importance of GLOBAL clause According to new standards of COBOL?
How do you code Cobol to access a parameter that has been defined in JCL?
what is mainframe? what is the mainframe software ? what is use in s/w field?
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
How do we get current date from system with century?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
what happens when a copybook variables are declared using include statement ?
Explain the configuration section of a cobol program with examples of syntax.
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
BY seeing a program how can we say that it is static call or dynamic call
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com