77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
8 12491a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
4 9437The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
6 20381I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
3 1173677 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
TCS,
9 12802suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
2 7252If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
CTS,
3 9167
How do you reference the following file formats from cobol programs?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How are the next sentence and continue different from each other?
What is the difference between binary search and sequential search?
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
Write the code to count the sum of n natural numbers.
Explain the configuration section of a cobol program with examples of syntax.
Can we change the password using ALTER? anyone tried and changed?
What is an in line perform? When would you use it? Anything else you wish to say about it.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how do you reference the fixed unblock file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Name the divisions, which are available in a cobol program?