i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..
IBM,
5 7338How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
2 7927suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
IBM,
2 7194How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
6 19083I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
4 9437Why we need to use redefine clause when we can define the variable seperately... what is actual need....
5 11646
i want a program using by if, evaluate , string, unstring, perform, occurs?
how do you reference the variable unblock file formats from cobol programs
How are the next sentence and continue different from each other?
What are different data types in cobol?
Explain what you understand by passing by value.
What is redefines clause in COBOL?
What is rmode(any) ?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Name the divisions, which are available in a cobol program?
how to refer the data field?
Mention the guidelines to write a structured cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How do you reference the fixed block file formats from cobol programs