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...

Write a JCL by using the below requirement:
File1 =1, File2 =11 and output needs to come as File3 =111?

Answer Posted / muttiah

@satish:

I'm not sure on what basis you have created this jcl. But
if i'm your interviewer i would have blasted you like
anything.

Findings:
1. step1 output will be 1 in postion 1 followed by 001 in
pos 60 - 62.
2. step2 output will be 111 in position 1-3 followed by 002
in pos 60-63. why the hell are you hardcoding sortin in
both the steps and sortout of step2 you are force fully
making it come as '111' because of this
OUTREC FIELDS=1:C'1',2:1
Then what is the case of having step1 if you force fully
making it as '111'..

Coming to step4: i'm not sure what does it mean but i
executed and saw like the output is in this format.
111 in pos 1-3 and 001 in pos 60-62.
Then where are you eliminating 001 in cols 60.

If you are not sure of the answer don't post anything. But
never divert people with your answers. People who are new
to mainframe can feel your answer is correct.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A dd statement consists of 4 fields. Name them?

1475


Explain the jcl exec statement?

1202


Is their any limit for data sets?

1244


Explain the function of the dd dcb keyword?

1323


What is the purpose of dd * statement in jcl?

1333


How do you submit a job for execution?

1164


how do you code a null statement?

1387


Explain the function of //jcllib statement?

1277


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1288


Name the statement which can be used to send data to another mvs jes3 node?

1221


What is the difference between run mode and addressing mode?

1308


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2799


what is use of dsn parameter in dd statement?

1201


List the various advantages of using jcl language?

1520


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1330