i have one file having 100 of records? i want to display it like
20 records in one column and 20 records in another column total
40 records per page ? how ?

Answers were Sorted based on User's Feedback



i have one file having 100 of records? i want to display it like 20 records in one column and 20 re..

Answer / lu

you can't do that in Spufi....You could do it in the
program cobol...
you have to create 3 Pages...Each page you define 2 columns,
each columns you define 20 records....

Is This Answer Correct ?    0 Yes 0 No

i have one file having 100 of records? i want to display it like 20 records in one column and 20 re..

Answer / vaneesh khurana

You can do it by using SPLICING option of ICETOOL.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More DB2 Interview Questions

Can a Db2 table data be retrived through JCL?

4 Answers  


Explain in brief how does db2 determine what lock-size to use?

0 Answers  


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

0 Answers  


what is the name of the default db2 catalog database?

3 Answers   IBM,


What are catalog tables in db2?

0 Answers  






How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)

2 Answers  


Could anyone clearly explain the diference between sub query and correlated sub query?

3 Answers  


What is error -818 in db2. where can you find the timestamp of the DBRM and the source code.( precompile puts the timestamp on dbrm and source code correct?)

2 Answers  


Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 Answers  


which SQL comment successfully removes uncommitted changes from a DB2 database A) rollback B) delete C) drop D) decommit

2 Answers   Accenture, Wipro,


What is the latest version of ibm db2?

0 Answers  


How can you split a table in to exactly half?

7 Answers   HSBC,


Categories