⟩ How to find a substring in a string without using substr built in functions, and print the substring found?
$r="YASHWANTH";
@n=split (//,$r);
print "@nn";
@t=splice(@n,0,3);
print "@tn";
$r=join("",@t);
print "$rn";
~
~
$r="YASHWANTH";
@n=split (//,$r);
print "@nn";
@t=splice(@n,0,3);
print "@tn";
$r=join("",@t);
print "$rn";
~
~
What is SET TO TRUE all about, anyway?
What is the default value(s) for an INITIALIZE and what keyword allows for an override of the default?
How do you define a sort file in JCL that runs the COBOL program?
What is the difference between a binary search and a sequential search? What are the pertinent COBOL commands?
My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not ABEND. What is wrong with it?
What is the difference between a DYNAMIC and STATIC call in COBOL?
How do you sort in a COBOL program Give sort file definition, sort statement syntax and meaning?
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
What is binary search?
How do you define a variable of COMP-1 and COMP-2?