I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
2 5319i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
6 10160i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
4 8854i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
4 7975i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?
3 7338can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
1 12575Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?
3 5914What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
1981How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
2151Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
1 12569Post New IBM JCL Interview Questions
What is the byte order of byte buffer?
Which commands you use to lock the database in mongodb?
What is a rowmapper?
What are the differences between windows 7 and windows 10?
How do you set up background jobs in sap? What are the steps? What are the event driven batch jobs?
what is destructive and non-destructive testing of welding
How do you fix windows 10 when it fails to boot?
Why do you want to join Atos?
What is the basic difference internal tables and database tables? : abap data dictionary
Explain how to calculate knee point voltage? Describe its purpose for differential protection.
What are the types of cloud?
WhatIs the limit of duty exemption in smal scale industries.
Can you explain Does "AMD Turion 64 X2 Processor TL50, 1.6 GHz and above" supports Solaris 10?
The following program reads data (details of students) from a file named students.txt and converts it into e-mail addresses. The results are written to a file named studentemail.txt. students.txt consists of a number of lines, each containing the data of a student in colon delimited format: Last Name:First Name:Student Number Each input record is converted to an e-mail address and written to studentemail.txt in the following format: the first character of the last name + the first character of the first name + the last four digits of the student number + “@myunisa.ac.za” import java.io.*; public class EmailConverter { public static void main(String[] args) throws IOException { BufferedReader input = new BufferedReader(new FileReader ("students.txt")); PrintWriter output = new PrintWriter(new FileWriter ("studentemail.txt")); String line = input.readLine(); while (line != null) { // Extract the information for each student String[] items = line.split(":"); // Generate the email address String email = "" + items[0].charAt(0) + items[1].charAt(0) + items[2].substring(4,8) + "@myunisa.ac.za"; email = email.toLowerCase(); // Output output.println(email); line = input.readLine(); } input.close(); output.close(); } } Rewrite the class so that it handles possible errors that may occur. In particular, it should do the following: • It should catch at least three appropriate exceptions that might occur, and display suitable messages. • At this stage, the program will not run correctly if there is an empty line in the input file. Change the program so that if an empty line is encountered, an exception is thrown and the empty line is ignored. This exception should be handled with the display of a suitable error message. • Before the e-mail address is added to the output file, check if the student number has 8 digits. If not, throw an InvalidFormatException (which the program should not handle itself)
Explain the dojo architecture?