Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what if any ,is the syntax error in the following piece of code
01 B PIC A(7)
02 C PIC 9(4)
........
IF(B NUMERIC)
ADD 10 TO C
a.the condition in the if statement is wrong
b.noting is wrong
c.because C is initialised.ADD 10 TO C is wrong
d.both B and C shoud have same size.



what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) .......

Answer / dimpy19

"B (ALPHABETIC)" did not have a valid type for the specified class condition. T
nformational Warning Error Severe Terminating


WORKING-STORAGE SECTION.
01 B PIC A(7) VALUE '1'.
01 C PIC 9(4) VALUE 2.
PROCEDURE DIVISION.
IF(B NUMERIC)
ADD 10 TO C.
STOP RUN.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More JCL Interview Questions

Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


What is a Dummy Utility and what it does ?

3 Answers  


how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

6 Answers   Syntel, UHG,


I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


How to identify where file is empty or not? How many ways are there to identifying?

3 Answers   CTS,


can we write a proc with in a proc

4 Answers   IBM,


what is the purpose of coding notify parameter in job statement?

0 Answers   IBM,


what is SOC4 error?

0 Answers  


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


Categories