I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
1510Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
1 2831Difference between file status codes 02 and 22.... since both are for duplicate key detection.
1 3014Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.
RBS,
2 3706Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
1 2553if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
1296I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
1 2373i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
1472What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
1059
Which division and paragraphs are mandatory for a COBOL program?
How can you get the ksds file records into your cobol program?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the usage of comp fields in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the LINKAGE SECTION used in COBOL?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are all the divisions of a COBOL program?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the Purpose of Pointer in the string?
What is inspect in cobol ?
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
Explain the configuration section of a cobol program with examples of syntax.