What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
IBM,
2 9566Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
1 9541In cursor program perform para varying until 1 by 1 fetch para cursor------close para in the blank what will come for confirming in the database?
HCL,
1 6434In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
CSC,
1 5480How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation
1 5127have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
2 10255i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
2 6893have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
TCS,
5 13101When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
CTS,
1 8557I have a table(product),It contain fields(productname,cost). I want to retrieve the product name ,which cost is second maximum in the table?
10 14795
What is the cics command level?
What are the bind parameters ibm db2?
Is the order of the when clause significant in an evaluate statement?
What do you mean by rollback?
How to find the maximum value in a column in the db2 database?
What do you understand by the term job time – out and how can you overcome that?
Is it possible to left uncode disp?
Explain in DD statement what is the use of DCB parameter?
How is it possible to do a cross-sysplex copy of a PDS dataset by running one JCL on the target sysplex? I tried to use IEBCOPY with SUBSYS & CSM as follows: //CSMTRAN1 EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=PDS-Dataset-name-from,DISP=SHR, // SUBSYS=(CSM,'SYSPLEXNAME-FROM') //SYSUT2 DD DSN=PDS-Dataset-name-to,DISP=OLD, // SUBSYS=(CSM,SYSPLEXNAME-TO') //SYSIN DD DUMMY This did not work. I always get the following error "IEB1071E DD NAME SYSUT1 IS SUPPOSED TO BE A PARTITIONED DATA SET BUT IT HAS NO DIRECTORY. EXPECT A TERMINAL I/O ERROR. (DS1LSTAR=X'000000' DS1DSORG=X'0000' JFCDSORG=X'0200') " The source dataset is a catalogued pds dataset with many entries. The target dataset is allocated in the same job some lines before the transfer. I got an example like this for PS datasets with IEBGENER. But for PO datasets there should be a similar possibility...
What is inspect in cobol ?
When you are obtaining next within a set and get a end of set return code, on what record are you now current?
Explain the difference between a package and a plan.
what is amode(24), amode(31), rmode(24) and rmode(any)?
what does a file status of 02 on a vsam signifies?
What is the kcp in the cics?