ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
TCS,
6 14726can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
IBM,
10 13072SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
2 7030)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
IBM,
2069
What is link edit in cobol?
Write some characteristics of cobol as means of business language.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is amode(31)
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is amode(24)?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Can we change the password using ALTER? anyone tried and changed?
Explain the configuration section of a cobol program with examples of syntax.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Difference between array and sub-script ?
What is Pic 9v99 Indicates in COBOL?