-
Use of library statements
Can anyone pls explain in detail the use of LIB statements like JOBLIB,STEPLIB,JCLLIB,PROCLIB.... as i know where to use these but not clear on the purpose of using....
-
-
-
-
-
-
-
-
-
-
-
-
Send email from mainframe
I need to send an email from mainframe using the parmcard which has HELO MAIL FROM:RCPT TO:DATAFROM: TO: SUBJECT:etcbut i also need to get the system date and time each time I do so.How do I get that when I submit the jcl which uses this parmcard as input?
-
//MYJOB JOB(T,U202,SH1),'FRANK SMITH',CLASS=A //STEP01 EXEC PGM=PGM01 //INFILE DD DSN=TEST.PAYROLL.DATA,DISP=SHR //SYSOUT SYSOUT=A //STEP02 EXEC PGM=PGM02 //INFILE DD DSN=TEST.PERSONEL.DATA,DISP=SHR Which change to STEP02 above will specify that STEP02 CANNOT be automatically restarted by an operator if that step fails during execution?
Choice 1 //STEP02 EXEC PGM=PGM02,AR=NS Choice 2 //STEP02 EXEC PGM=PGM02,RST=NOP Choice 3 //STEP02 EXEC PGM=PGM02,ARST=NOP Choice 4 //STEP02 EXEC PGM=PGM02,OP=NST Choice 5 //STEP02 EXEC PGM=PGM02,RD=NR
-
Space Identifier (ASID)
What is the name of the job that has an address space identifier (ASID) of one?
-
Creating model for gdg
Is it necessary to create a model for gdg using IEFBR14 utility after creating gdg, if yes why it is created.
-
-
JCL SORT CARD to filter data
If you have 2 input files with redundant data. For example
INP1 INP2
A B
B D
C E
D F
-----------------------
How will fetch records of INP1 which are present in INP2 to a new output file and also fetch the records which do not match in another output file.
Please tell me the SORT CARD... -
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
The keywords associated with the DCB parameter are LRECL, RECFM, BLKSIZE and DSORG. The DCB information can be supplied in the DD statement. The sysem looks for DCB information in the program code first.
-
JCL Interview Questions
Ans