I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
CTS,
5 11276i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
TCS,
1 7449How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
CGI,
1 13079I have the transaction name for cics screen.. With the transaction name, how will I find the cics program written for the transaction and BMS map program also...
CGI,
4 164955 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?
2 6372if there is a table with huge number of records and if i want to extract only first 3 records from the table, what query i have to provide to retreive first 3 records
UST,
4 8266Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
3 10298If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
UST,
4 10266i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error
UST,
3 7391if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
UST,
2 8904first when i try to write a record into the file, wresp=duprec, but follwed with that if i try to read the record it say record not fnd.. actually the record is not written in the file, but it says that duprec when trying to write... why this happens, pls help me asap..!
1 5540
What is db2 catalog database?
How to create db2 table in mainframe?
Explain how can you accomplish breakpoint in intertest?
Write a program to enter and display the names of students in a class using the occurs clause.
Which components manage deadlocks in db2?
Highlight the difference between a symbolic map and physical map?
Can we update view in db2?
What is bms map?
How does the jcl specify the job to os?
Explain the function of the relative record data set?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Explain cemt transaction commands?
What is sqlca?
How to get the last record in vsam file in cluster?