JCL Questions and Answers

Recent IT Questions

1 - 20 of 25
<<PREVIOUS 1|2 NEXT>>

Pause/Wait + JCL z/0s

Is there a way to pause ZOS between each step of a job? If we had JES3 installed, I would use //**PAUSE, but we don't. My job has six commands I want to automate. F PCICST01, CEMT S TE(????)OUT, and 5 more, where ???? is the LU code needed. If I understand ZOS, it may or may not process the 6...

View Answer   |  Oct 9 2009  2:44 PM GMT
JCL, z/OS
asked by ITKE

  10180 pts.

JCL transfer from one data set to other

Hi, I'm looking for CA-7 batch job JCL to transfer or copy members from one data set to other. I need to to move more than 1000 of them and can't do it throught TSO for security reason. Thank you in advance

View Answer   |  Jul 30 2009  7:58 PM GMT
JCL, CA-7, Batch jobs
asked by IT09

  5 pts.

MVS JCL Return-code

How do I pass pass a return-code of 4 back to MVS JCL?

View Answer   |  Jul 14 2009  8:02 PM GMT
JCL, MVS
asked by Daniel56

  5 pts.

QA testing mainframe code

I have 3500 members in my loadlib and a set of scripts to test this code. However i do not know what sort of code coverage i am achieving with these scripts. Is there a way to monitor which members from the loadlib are being executed by my test scripts? Note my JCL always executes the same program...

View Answer   |  Jul 7 2009  12:33 AM GMT
QA testing, JCL, SYSIN
asked by QAtester

  5 pts.

How to add the date in the file name in JCL

need to create a JCL which runs every month end and create a file with name which has the current date in it

Answer Question   |  May 12 2009  9:35 AM GMT
JCL
asked by Vicky11

  5 pts.

IKJEFT01 job giving SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011

One of my job is trying to search the reagions which are holding a file and run this step //PSTY0020 EXEC PGM=IKJEFT01,DYNAMNBR=8, // PARM=('%ISFSCAN,&INS..PO.STDATM.JOURNAL', // 'DD(2&DD),NONCICSABORT') //SYSPROC DD DSN=CSG.CTLCARD,DISP=SHR ...

View Answer   |  Apr 12 2009  5:22 PM GMT
IKJEFT01, RC=000011, ABEND
asked by Saurabhgargava

  5 pts.

Mainframe batch DB2 table I-O monitoring

Dear Sir or Madam: I can examine the excp counts for flat, VSAM, IMS files in the JCL batch JES JOB Log statistics, both while executing & when job has completed. How do you monitor that I/O for DB2 tables? Thank you, Michael Piccolo

View Answer   |  Mar 19 2009  2:17 PM GMT
DB2, I/O Monitoring, DB2 Table
asked by Pic

  40 pts.

CAVIEW mainframe-JCL convert to PROC-issues

We have CAVIEW on the mainframe, sequential files containing report data are sent to CAVIEW via the mainframe utility IEBGENER at the ends of jobs that produce reports. This system DID have straight JCL - we converted to JCL-and-cataloged PROCEDURE (PROC). The filename into CAVIEW, the CAVIEW...

Answer Question   |  Nov 25 2008  7:15 PM GMT
JCL, CA, CA View
asked by Gypsymorgan

  5 pts.

use of ftp for multiple files

I need to process a JOB in mainframe FROM CONTROL_M with FTP sending multiple files from HOST to a user server. The problem is that I need a name different that the original coming from host, even without ' . The execution ( IT'S ONLY A PROOF JCL ): +++++++++++++++ //PTCFTPES JOB...

Answer Question   |  Nov 7 2008  8:22 PM GMT
JCL, FTP, Mainframe OS
asked by Ptc6363

  10 pts.

Making OMIT command inactive after a some count

I have to write a JCL step in which I have to copy a file in to another file after omitting ONLY 5 records in which starting 4 position are having character 1644. Can you please help? Thanks in advance, Sushant Sharma

View Answer   |  Sep 29 2008  7:24 AM GMT
JCL, Job Control Language, SORT statement
asked by VisionPlus

  5 pts.

DB2 Select on a large number of rows/

I have to run a DB2 against a number of table for example tableA, tableB and select a number of fields from the table. However, I have to run the selection against 5,000 records that. I want to know if using SQL embedded in a JCL, if I could plug in a file with the records I want to select for...

View Answer   |  Aug 22 2008  3:52 PM GMT
SQL, DB2, JCL
asked by Michaelf21

  5 pts.

Sending email with SMTP thru JCL

I'm trying to use SMTP to send emails using IBM JCL (IEBGENER). This is the JCL I'm using.I'm getting INVALID COMMAND errors on the SYSIN commands. Help. //VS90033Y JOB (1,6893215,FPN-800),'CMMS',MSGCLASS=V,USER=VS90033 //**************************************************************** /**MAIN ...

View Answer   |  Aug 14 2008  12:14 AM GMT
SMTP, JCL, IEBGENER
asked by Ldonoho1

  5 pts.

Printing Documents

I am printing documents that I have designed in DOC1. The data comes from COBOL programs that I have written that gather information from DB2. The pages are not printing in the center of the page, so it is cutting off some information at the bottom and the right. I got a lead that this is due to...

View Answer   |  Aug 6 2008  5:00 PM GMT
COBOL, JCL, DOC1
asked by Skmcm

  40 pts.

How to submit a JCL through VB Script?

i have a jcl to submit into mainframe without logging into mainframe. I have write a script but unable to submit the jcl into mainframe from that script. Can anyone please help me out? I really appricate your write.

View Answer   |  Jul 21 2008  5:31 PM GMT
VBScript, JCL, FTP
asked by Ankitgupta

  5 pts.

Need help with FILEAID in BATCH

I'm new to FILEAID, so I'd be grateful for some sage guidance on FILEAID command syntax's and statement for use in a JCL. My problem is that Ihave a datafile which appears be a VB file type with a leading 2 character string ahead of my data. I'm trying (desperately) to create a work-around in...

View Answer   |  Jun 23 2008  6:31 PM GMT
Visual Basic, DB2, JCL
asked by Jonty Walker

  105 pts.

DSNTEP2 output problem

DSNTEP2 (aka SPUFI in batch) is causing problems for my extract JCL. How do you get rid of the SPUFI-like column headers from the output datafile produced by DSNTEP2? I don't have ANY experience with REXX, so an example would be appreciated. Jon

View Answer   |  Jun 10 2008  4:49 PM GMT
SQL, DB2, REXX
asked by Jonty Walker

  105 pts.

Rookie using DSNTEP2 and IBM JCL - Need Help with JCL

I'd appreciate some help here. My JCL background is HP3000 / MPEX and HP-UX, but my IBM mainframe JCL experience is over ten (10) years old. So I'm having problems creating a JCL - my brain can't remember command syntax's from that long ago. I need to create a JCL that will accept an input file...

View Answer   |  Jun 10 2008  1:08 PM GMT
SQL, DB2, JCL
asked by Jonty Walker

  105 pts.

jcl spool command

which spool command is used to release a job with hold option

View Answer   |  Jun 10 2008  5:43 AM GMT
JCL, Spool files
asked by Sravs

  5 pts.

Need help executing MULTIPLE SQL extracts from a JCL

GREYBEARD52: Thanks again for the info, BUT I'm not sure if a CL command can be used with a JCL. Can it? ALSO, my JCL uses the SELECT command, so it appears that the RUNSQLSTM command won't help - it doesn't support SELECT. Are there ANY OTHER ALTERNATIVES or a way to tweek this command to 1....

View Answer   |  Jun 3 2008  6:57 PM GMT
SQL, DB2, JCL
asked by Jonty Walker

  105 pts.

Creating JCL to execute a large merged file of SQL for DB2

I need to create a JCL that will execute - individually - SQL statements within a merged file (multiple SQL) and write the SQL results to a single output file. Suggestions?

View Answer   |  Jun 2 2008  4:55 PM GMT
SQL, DB2, JCL
asked by Jonty Walker

  105 pts.

1 - 20 of 25
<<PREVIOUS 1|2 NEXT>>