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.
1568Hi 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 2918Difference between file status codes 02 and 22.... since both are for duplicate key detection.
1 3143Extract 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 3851Read 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 2652if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
1357I 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 2461i 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
1541What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
1135
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Explain how to differentiate call by context by comparing it to other calls?
What is static and dynamic call in cobol?
How do get the result of your program directly on your pc?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How do you define a variable of comp-1 and comp-2?
What is the compute verb? How is it used?
) what is the difference between AID and HANDLE AID?
What are 77 levels used for?
How to remove 2 duplicate records and copy only one using job control language?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
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.
) How do u handle errors in BMS macro?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between structured cobol programming and object alternativelyiented cobol?