how can we find total no of records in a file ....is there
any utility......?
Answer Posted / vivek c
Use ICETOOL utility as below.
//TOOLIN DD *
COPY FROM(IN1) USING(CTL1)
/*
//CTL1CNTL DD *
OUTFIL FNAMES=OUT,REMOVECC,NODETAIL,
TRAILER1=('FILE1',5X,COUNT=(M10,LENGTH=5))
/*
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
What is the LINKAGE SECTION used in COBOL?
) how do u code after getting data?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between perform … with test after and perform … with test before?
What is amode(24)?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Describe the cobol database components?
Give some examples of command terminators?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
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.
What rules are to be followed while using the corresponding options?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?