if one main program ,n -subprograms are then which call you
follow ?why reasonuhg
Answers were Sorted based on User's Feedback
Answer / krishna
Dynamic Call is always preferable, irrespective of the no
of Sub programs,but it all depends on the installation.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / shiva
in dynamic call the subprogram load modules are linked
during execution..so it terms of processing it is slow
compared to satic...
but no need to compile main pgm every time when subprogm
is modified...it is one bst advantage over static call....
hence dynamic call is pereferable....
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sandhya
dynamic call is preferable with respect to space and
static call is preferable with respect to fast execution...
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / harsha
intially we follow main program then all depends on the
control or flow of the main program itself for eg;
In main prog intially we call a subprog1 and after the
execution of subprog1 is over then control is back to the
main prog or to be simple the program which called...to bo
simple wherever the control gets it's start it's(control)
is finally returned to that point in the program
Is This Answer Correct ? | 1 Yes | 1 No |
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
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?
Mention the guidelines to write a structured cobol program?
What compiler option would you use for dynamic linking?
Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?
How do we get current date from system with century?
What is Static and Dynamic linking ?
what is difference between cobol and cobol/400
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
how would find total records in files using seqientional
sample code for read a 2nd record from last in flatfile how can do?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)