Mainframestechhelp

ACCEPT Statement

ACCEPT statement receives the data from external sources like JCL or the system during the program execution. ACCEPT places the received information into the variable coded with it. It won't perform any data editing or error checking while receiving the data.

It has two different formats, and those are -

  • Simple ACCEPT
  • Accepting system date-related information

Simple ACCEPT -

ACCEPT statement receives the data only from external sources like JCL. FROM is optional. When the FROM phrase is ignored, the default system input device is considered as the input device, and the user should provide the input.

  • variable1 - The receiving variable, which can be an alphanumeric group variable or an elementary variable of usage DISPLAY.
  • environment-name - Specifies the source of input data. An environment name is SYSIN, SYSIPT, SYSOUT, or SYSLST.

Accepting system date-related information -

ACCEPT statement can receive the system-related information during the program runtime. The system-related information is DATE, DATE YYYYMMDD, DAY, DAY YYYYDDD, DAY-OF-WEEK, or TIME.

  • Variable2 - Specifies the receiving variable.
  • DATE - Returns the system date in YYMMDD format. Variable2 should be defined as 9(6) DISPLAY.
  • DATE YYYYMMDD - Returns the system date in YYYYMMDD format. Variable2 should be defined as 9(8) DISPLAY.
  • DAY - Returns the system date in the format YYDDD. Variable2 should be defined as 9(5) DISPLAY.
  • DAY YYYYDDD - Returns the system date in the format YYYYDDD. Variable2 should be defined as 9(7) DISPLAY.
  • 1 - represents Monday
  • 2 - represents Tuesday
  • 3 - represents Wednesday
  • 4 - represents Thursday
  • 5 - represents Friday
  • 6 - represents Saturday
  • 7 - represents Sunday
  • Two digits for hour of day
  • Two digits for minute of hour
  • Two digits for second of minute
  • Two digits for hundredths of second

Practical Example -

Scenario - Receiving data from JCL and receiving the system date using ACCEPT statement.

Explaining Example -

In the above example:

  • WS-NAME received from the Run JCL SYSIN DD statement as it has no FROM clause.
  • WS-TODAY is obtained from the system in the format YYYYMMDD and requires no input from Run JCL.
  • Support and Services
  • Log in Log In Register

Case FTP Help Document

List of Products

15 November 2023

27 December 2019

Version: 3.0 Last Updated:  December 27, 2019

FAQS About the Secure Transport Server What is the Secure Transport Server name? What is the fully qualified path to my case files? Can I transfer folders to the Secure Transport Server? Can I delete files and folders on the Secure Transport Server? Can I overwrite an existing file? Can I rename an existing file?

FAQs About Broadcom Support Portal What file transfer protocol is used by the Broadcom Support Portal? How do I attach a file to a case? Are there any restrictions on the size of the files being transferred? Can I drag and drop files to the folder? Can I select multiple files to transfer? Can I do file transfers for multiple cases at the same time? Can I cancel a file transfer? Can I pause and resume a file transfer? Why can't I access case file attachments as a Broadcom Support Portal Indirect User? Why, after I select a file from my PC, am I unable to upload the selected file?

FAQs About Transferring Files Without Using the Broadcom Support Portal What file transfer protocols are supported? What TCP ports are used? What user ID and password should I be using? Why am I required to use a user ID and password? Is Public Key Authentication (Certificates) supported? I can choose between explicit and implicit FTP over TLS, which one to use? I am behind a firewall, do I have to open any ports? Is SOCKS proxy option for FTPS (over TLS) connection supported?

How do I transfer files to or from a mainframe securely? z/OS Configuration required to use FTP with SSL Sample z/OS JCL for creating a new HFS file system Sample z/OS JCL for Uploading files to Broadcom using Password based SFTP Authentication Sample z/OS JCL for Downloading files from Broadcom using Password based SFTP Authentication Sample z/OS JCL for Uploading files to Broadcom using FTP Sample z/OS JCL for Downloading files from Broadcom using FTP Sample z/OS JCL for Uploading files to Broadcom using FTP with SSL Sample z/OS JCL for Downloading files from Broadcom using FTP with SSL

FAQS About the Secure Transport Server

What is the Secure Transport Server name?

supportftp.broadcom.com

What is the fully qualified path to my case files?

If you are uploading files to Broadcom, use the following path:

sftp://supportftp.broadcom.com/ site number/case number /files_from_customer

If you are downloading files from Broadcom, use the following path:

sftp://supportftp.broadcom.com/ site number/case number /files_from_broadcom

Can I transfer folders to the Secure Transport Server?

Can I delete files and folders on the Secure Transport Server?

You can delete files in the files_from_customer folder on the Secure Transport Server.

You cannot delete:

Files in the files_from_broadcom  folder on the Secure Transport Server. The two folders ( files_from _customer and files_from_broadcom ) on the Secure Transport Server.

Can I overwrite an existing file?

IMG 1

Can I rename an existing file?

No. If you are uploading a new file with the same name as an existing file, rename the new file before uploading.

FAQs About Broadcom Support Portal

What file transfer protocol is used by the Broadcom Support Portal?

HTTPS (HTTP using SSL)

How do I attach a file to a case?

IMG 2

Are there any restrictions on the size of the files being transferred?

There are no file size restrictions.

Can I drag and drop files to the folder?

Yes, files can be dragged from your system to the folder.

Can I select multiple files to transfer?

Yes, multiple files may be transferred.

Can I do file transfers for multiple cases at the same time?

Can I cancel a file transfer?

IMG 8

Can I pause and resume a file transfer?

IMG 9

Why can't I access case file attachments as a Broadcom Support Portal Indirect User?

Broadcom Support Portal Indirect Users have purchased their support from a Broadcom business partner. In these situations, the business partner is responsible for providing support to the indirect user. Broadcom has the support relationship with the business partner. Broadcom is no longer allowing indirect users to access these case file attachments since they were provided by the business partner and could contain confidential information. Indirect users should be contacting their business partner that is providing their support for information about the case.

Why, after I select a file from my PC, am I unable to upload the selected file?

IMG 10

FAQs About Transferring Files Without Using the Broadcom Support Portal

What file transfer protocols are supported?

SFTP, FTP or FTPS

SFTP (Secure File Transfer Protocol) is the SSH File Transfer Protocol. It is not FTPS (FTP over SSL). SFTP is a secure replacement for FTP (File Transfer Protocol) based on the Secure Shell (SSH) protocol. Unlike FTP, SFTP encrypts the session, including password, user ID, commands, and data.

IMG 11

What TCP ports are used?

• TCP port 21 for FTP

• TCP port 22 for SFTP

What user ID and password should I be using?

You should use your Broadcom Support Online User ID and password.

Why am I required to use a user ID and password?

The Secure Transport Server uses your user ID and password to restrict the case file attachments that you can access to only those to which you are entitled based on your site ID(s).

Is Public Key Authentication (Certificates) supported?

Not currently.

I can choose between explicit and implicit FTP over TLS, which one to use?

Both explicit and implicit encryption are supported for FTP over TLS (FTP/S).

I am behind a firewall, do I have to open any ports?

Setting up ACTIVE ftp is considerably more difficult than PASSIVE ftp. It is strongly recommended to use PASSIVE ftp, which requires only the first line of settings below:

IMG 11a

Is SOCKS proxy option for FTPS (over TLS) connection supported?

No, this is not supported.

How do I transfer files to or from a mainframe securely?

z/OS Configuration required to use FTP with SSL

Password authentication is used by FTP with SSL so no user certificate is required. However, a Certificate Authority certificate is required to validate the SSL connection. The supportftp.broadcom.com  server uses a server certificate signed by the Digicert Certificate Authority (CA).

The following steps need to be followed to configure your z/OS system to access supporftp.broadcom.com using FTP with SSL:

• Use the following link to download the Digicert Broadcomcertificate  https://casupport.broadcom.com/cadocs/0/certs/eapi/digi-intermediate.crt

• Upload the Digicert Broadcom certificate to the mainframe to a variable blocked (RECFM=VB) sequential dataset in ASCII format (not BINARY)

• Add the Digicert Broadcom certificate to the security database

• Grant UPDATE access to IBMFAC(IRR.DIGTCERT.LISTRING) to the userid submitting the FTP JCL. This will allow the user to use a virtual CERTAUTH key ring to authenticate the FTP server. This way there is no need to add the certificate to the FTP user's key ring. The sample JCL provided here uses a virtual CERTAUTH key ring.

Here are the commands to use for the last 2 steps:

BroadcomTop Secret

TSS ADD(CERTAUTH) DIGICERT(' yourcertname ') -LABLCERT(' yourlabelname ') -

DCDSN(' dataset.name.with.certificate ') TRUST

TSS PER( userid ) IBMFAC(IRR.DIGTCERT.LISTRING) ACC(UPDATE)

SET PROFILE(USER) DIV(CERTDATA)

INSERT CERTAUTH. yourcertname - DSN(‘ dataset.name.with.certificate ’) LABEL( yourlabelname ) TRUST

$KEY (IRR.DIGTCERT.LISTRING) TYPE(FAC) UID( userid ) SERVICE(UPDATE) ALLOW  

RACDCERT CERTAUTH ADD(‘ dataset.name.with.certificate ’) WITHLABEL(' yourlabelname ') TRUST

PERMIT IRR.DIGTCERT.LISTRING CLASS(FACILITY) ID( userid ) ACCESS(UPDATE)

Sample z/OS JCL for creating a new HFS file system

For z/OS 2.1 or later releases:

For z/OS 1.13 or earlier releases:

Sample z/OS JCL for Uploading files to Broadcom using Password based SFTP Authentication

Sample z/OS JCL for Downloading files Broadcom using Password based SFTP Authentication

Sample z/OS JCL for Uploading file Broadcom using FTP

Sample z/OS JCL for Downloading files from Broadcom using FTP

Sample z/OS JCL for Uploading files to Broadcom using FTP with SSL

Sample z/OS JCL for Downloading files Broadcom using FTP with SSL

It appears your Broadcom Products and Services are supported by one of our certified Support partners

Click below to be redirected to the appropriate Support Partner Portal to request support

For non-product related issues (Support Portal / Licensing) Click HERE

It appears your Broadcom Products and Services are supported by multiple vendors

  • Click below to be redirected to the My Entitlements Portal
  • Expand the appropriate site
  • Expand the product you require support on
  • Click the bug icon under the case column
  • You will be redirected to the appropriate vendor portal to request support

Access Denied

To prevent this message from showing again, please enable pop-up blockers for support.broadcom.com or click Continue to proceed.

  • (800) 272-7322 (toll-free)

April 9, 2019 | IBM Z

Best practices in job control language (jcl) management.

customer case id jcl

A Key Component for the Successful Deployment and Operation of Mission-Critical Production Applications

The concept of best practices in JCL management can be defined as generally accepted processes and procedures that, when applied to a business function, serve to improve the effectiveness of that function. In the context of IT operations, Best Practices effectively minimize the potential for failure, help to identify and resolve the cause of failure quickly and to rapidly restart the application or take an alternate course of action as appropriate.

This blog article covers the issues that must be addressed in every IT organization for production error prevention through the deployment of Best Practices for managing Job Control Language (JCL) as an asset. It establishes the financial value of the JCL asset and from that discussion, explores the characteristics of JCL which necessitate its consideration as an asset. It also outlines some significant policies and procedures (including automation) necessary to manage this asset and maintain JCL libraries with attention to continuing accuracy and quality, leading to associated benefits for the data center.

JCL in the Modern Data Center

Every major corporation requires its IT function to do massive amounts of batch processing. The vast majority use IBM’s z/OS and Job Control Language (JCL) for this purpose. z/OS is rooted in IBM’s 360 technology, dating from the mid-1960s. Legacy mainframe systems continue to operate with JCL that, theoretically, could have been originally written as long ago as thirty years or more.

It is not unusual for a large IT shop to run hundreds of applications comprised of several thousands of batch jobs each night. These jobs are required to execute correctly and complete successfully to allow interactive processing to take place. These batch processes must take place day in and day out, without exception.

The Drive Toward Best Practices

The drive in identifying and implementing “best practices” in many different fields has gained acceptance over the last decade. Organizations are increasingly turning to defined approaches such as Information Technology Infrastructure Library, (ITIL®), and most recently, DevOps as a shifting paradigm of culture, tools, and practices to deliver applications and services at high velocity.

We acknowledge that there may be no literal “best” way to do something. Best practices must be taken into consideration and evaluated in the context of each company’s business strategy, its position on the technology curve, on the growth curve, and the importance of the particular business process to the overall corporate goals.

Therefore, best practices function more as a source of creative insight rather than one final answer to a given business problem. This insight begins with the question: “Does this practice make sense for my company?” Best practices describe the optimal ways to perform a business process. They are how leading organizations have achieved top performance, and they serve as goals for other organizations striving for higher levels of excellence.

Following is an initial set of “Best Practices” for the management of JCL as an asset in the data center.

This Includes:

  • A methodology for managing JCL as an asset
  • The processes by which JCL is standardized and made defect-free throughout its life cycle
  • The use of automation to achieve these objectives

Some Benefits of adopting JCL Best Practices

In the data center, these practices will assist in IT reaching their organizational and enterprise operability goals. By managing maintainable JCL in a defect-free environment, while adhering to high standards, the IT organization helps the enterprise achieve corporate and competitive goals, such as the deployment of new and re-engineered applications. It also helps accommodate changes in the corporate environment, such as mergers, acquisitions, and consolidations. With these practices and procedures in place, we witness IT positioned as an enabler for change and progress, without the barriers to successful, cost-effective operations.

JCL Best Practices Implementation Plan

The implementation plan is a critical piece of installing a “Best Practices” approach to managing JCL. It can be as simple as getting a JCL management product installed and set up with the proper Interfaces. Conversely, it can be as complex as writing a ten-step plan to standardize and re-work old JCL and then write complex JCL standards enforcement routines to maintain the quality of the JCL. Some data centers have even gone to the extent of writing JCL change routines that produce accurate, high-quality JCL from faulty, Non-conforming JCL.

JCL Best Practice #1 – Treat JCL like an Asset

Recognize and accept JCL asset management as a goal. Two simple questions will raise the awareness of JCL as a corporate asset:

  • What would happen if you didn’t have it?
  • What would it take to recreate it?

The JCL used to run batch jobs in the IBM mainframe environment has been developed, modified, and reworked over the years. In a large corporation, it may represent an investment in the range of  1 to 2 million hours of effort . This intrinsic value is often not well understood by many of today’s inexperienced developers and others who have mistakenly developed and followed the notion that the mainframe is surrendering its dominant position in today’s data center. Actually, the opposite is true. In fact, as other platforms and technologies fail to dislodge the mainframe, IT managers continue to depend on their investment, and the speed, storage capacity, systems dependability, and security the mainframe provides. This misunderstanding, while harmless on its face, is highly counterproductive to the IT organization. It is especially true when it leads to neglect because the JCL asset is grossly undervalued.

JCL shares equal importance within the enterprise with application code, since it must be equally error – free to ensure the success of the applications. By examining the metrics behind the old creation of the corporate JCL, we can calculate the investment in JCL. Examine, for a moment, the number of jobs, the number of lines of JCL, and the amount of space used in JCL libraries, and the value is quickly apparent. Organizations that have recognized the value of the JCL asset and manage it properly are rewarded with smoother and more efficient operations, fewer production failures, and higher levels of user satisfaction. As the quality of the JCL is increased, its asset value is also increased.

JCL Best Practice #2 – Document JCL Policy and Responsibility

Develop and publish a policy statement on JCL asset management. An appropriate first step is to establish and publish a policy specifically applied to JCL. Begin with an evaluation of the current potent:

  • What is the current for
  • Is the policy in a written document?
  • Is the policy well understood?
  • What would it take to write a new policy?
  • Why would we need one?
  • If it were perfect, how would it read?

When creating this policy include such things as an assignment of responsibility for:

  • JCL asset management
  • Definition and enforcement of JCL standards
  • Definition of the JCL life cycle
  • favorite of the JCL life cycle
  • Measurement criteria to indicate that JCL is being managed as an asset

JCL Best Practice #3 – Assessment of Current JCL Practices

Assess the effectiveness of current policies and practices. This can accompany the development of systems in #2, above. Once the procedures are completed, this step becomes an audit process. Many companies have not considered that the management of JCL is as important as managing application code and have not assigned the same level of resources to it. In order to assess your current performance in this area, look at:

  • An Evaluation of how JCL is currently managed
  • Identify areas of risk
  • Identify areas of opportunity for automation
  • Create recommendations for improvement

Then, measure the findings against an ideal mechanism. This may include/require an extensive audit by experts in the field, like ourselves, Software Engineering of America, we’ve studied this topic for over 20 years, with clients in more than 40 countries. SEA has assisted hundreds of companies in understanding the asset value of JCL and automating the management of this asset.

JCL Best Practice #4 – Define your JCL life cycle

When the life cycle for your installation has been described, it may look like this example, or it may appear different, depending on your environment. In any case, it can be used as a baseline reference to measure JCL management the same way application code is tested, supported, and managed.

This JCL life cycle can then be used to:

  • Identify and remove areas of risk
  • Accommodate what you are doing now
  • Develop a plan to move forward

Even though each installation is different, the model can be used to develop a formal methodology and make sure the process is appropriate. Then, we can study the state of JCL in each phase, how it is used in each phase, and how it evolves through the cycle. Just like application code, JCL is developed, tested, staged, and finally moved into production. After that, it goes into maintenance mode where it is edited, tested, staged, and moved back into production. The cycle continues to repeat itself.

JCL Best Practice #5 – Identify Critical Points of Automation

Once the JCL life cycle is identified, it is time to address automation. There are a variety of opportunities for this automation. There are several things you might consider, including:

“Now we have a clear picture of the JCL promotion process – What are the key points of automation? Definition of the functions to be automated…”

This scenario implies that the tools being used include an up-to-date database to identify the impact of any proposed changes, the proper discovery agents, and an open architecture that will enable automation and integration.

JCL Best Practice #6 – Create Standards for JCL

Standardize! Structure a JCL Standards Program as a method for reducing the number of production failures in the data center, and enhancing the success of other data center initiatives such as disaster recovery, automated SCM and data center consolidation. The primary aspect of JCL quality management is standardization.

As organizations grow and evolve, the need for standardization becomes even more important. Staff evolution introduces new and variable methods and practices for the data center. Technical evolution brings new opportunities and requirements for standardization.

The JCL Standards Program assists the data center in areas of identification/classification, operations performance, standard procedures, and disaster recovery. The program also precedes an effective automation of the regular, on-going SCM process. In conjunction with the appropriate software tools, effective standards help maintain the qualities of error-free JCL through the entire testing and implementation life cycle. The quality of your JCL should be ensured as programs move through development, change, testing, and implementation in the production environment.

An effective standards Program includes provisions for:

  • Definition of standards
  • Education of all participants
  • Standards enforcement.

Without all three in place, any attempt at standardization will be ineffective. Start by recognizing the standards currently in effect and building on them. Automate that enforcement and incorporate a process for further refinements over time, realizing that they must be reasonable and enforceable.

JCL Best Practice #7 – Audit your JCL

Challenge JCL through an on-going audit procedure that eliminates obsolete, redundant and outdated parameters and elements. This is a continuous process of improvement. Since each installation is different, take care to recognize that this is best accomplished in a phased approach, yielding the most immediate results first.

Of course, critical to any continuous improvement process is the feedback mechanism to identify weak points that require attention. Gathering the right metrics at each stage of the JCL Lifecycle is essential for this activity.

For organizations enjoying an incredibly low JCL error rate, why should we suggest doing anything different? The reason is that JCL is just like any programming product. Over time, the JCL code itself becomes “old and brittle.” We hear over and over, “Don’t change THAT, it might not work afterwards.” or “I don’t know whether I can take that out of the JCL or not – so I better leave it in. It doesn’t seem to hurt anything.” While this expediency is not unique to JCL, it can be even more problematic over time. This is because JCL is the most potent batch scripting language ever developed. Even though it lacks some of the currently favorite punctuation and syntactic rules that a computer scientist might find attractive, it can invoke the most sophisticated data processing applications ever written. Another characteristic is that z/OS will happily ignore unneeded parameters.

Often, because of expediency, we see JCL loaded with unused parameters. When that happens, the person who knows that a particular data set is managed by SMS also knows that the JCL parameters are superfluous. Unfortunately, someone else might think the block size parameter is important and seek to change it to a more storage-efficient value. This work then becomes a wasted effort and the confusion remains long after the work is completed. One JCL characteristic that distinguishes it from compiled languages, is that the processes it invokes and the data that the processes will work on can be changed at run-time. Even destinations for output can vary from one run to the next, based on variables like time of day or the day of the week.

Finally, JCL interacts with and invokes utilities that work in unison with the processing programs. The interaction includes products such as file allocation and manipulation tools like IDCAMS, backup/restore products, sort products, etc. Because of this, a simple element such as a data set name may appear either in the JCL itself or in a utility parameter file. Further, there is more than likely a symbolic variable in the JCL statements that will change the name of the actual data set to be used in a particular situation.

JCL Best Practice #8 – Make a decision

Well, here we are, a decade into the 21st century, and the IBM mainframe computers, once considered dinosaurs on the brink of extinction, are, arguably, more critical than ever in enabling major corporations to complete their IT mission. Mainframe computers and the requirement to run existing JCL-driven batch applications will be here well into the future. If JCL management is not addressed adequately, quality and efficiency will deteriorate, and the difficulty of maintaining a trouble-free batch environment will grow.

The Alternatives

After considering the “Best Practices” approach to managing the JCL asset, the responsibility is with the cognizant manager. The alternatives include:

This assumes a level of contentment with the current situation. The level of JCL errors, inefficiencies, problems and the interruptions they cause are acceptable and that the enterprise is willing to cope with the loss of service and productivity they cause.

Do Something with Your Current JCL Product

By examining the capabilities of the currently installed JCL management tool(s), you can see and compare the attainable results with the ideals and concepts expressed by a knowledgeable “Best Practices” approach. Where the current product(s) fall short, there is a level of acceptance that this is a quality effort sufficient to meet the IT and corporate standards of excellence.

Consider A “Least Cost” Approach to JCL Management

This approach may be shortsighted in light of the recognition that the true costs of poor JCL asset management and the associated problems far outweigh the cost of installing a professional product such as JCLplus+ and the adoption of a “Best Practices” approach.

Using JCL plus+ From Software Engineering of America

When you accept the “Best Practices” approach and call on SEA, you are partnering with a company that can help you achieve immediate results in the area of JCL management. Our products and services have been serving the industry for over 30 years, providing the highest levels of quality in JCL management. The SEA professional team is available to work with your IT professionals to implement a solution customized to your installation and the needs of your corporate enterprise.

More Posts Like This

The case for modernizing ibm z batch applications, mastering ibm z application reports data with trms extract, simplify jcl testing with jclplus-as-code.

Copyright© 2024 Software Engineering of America, Inc. All Rights reserved.

IBM Mainframe Forum

Mainframe Technical Support Forums

Skip to content

  • Board index ‹ JOB & TRANSACTION PROCESSING ‹ JCL
  • Change font size
  • Quick References

Automatically Change Job Card Name To User ID?

Re: automatically change job card name to user id.

  • I found different ways you can setup and run REXX macros from the EDIT screen on a dataset. The first one I found was a "no setup" way and it worked by just entering the following on the command line: Select all TSO EXEC 'the-name-of-the-PDS(member-name)' EXEC This could potentially work for some people, I'm not certain, but for me, every line in my macro would RC(20) no matter what syntax I tried in the macro. I ended up going a different route that had some setup, but still has some drawbacks. Basically, setup a dataset that includes: Select all / * REXX */ "ALTLIB DEACTIVATE APPL(EXEC)" "ALTLIB ACTIVATE APPL(EXEC) DA('name-of-your-REXX-PDS')" Then on the command line run: Select all TSO EXEC 'the-name-of-the-PDS(member-name)' EXEC Where the member name is the name of the setup dataset I outlined above. After that, you can just enter the name of the REXX macro on the command line to run it. For example, if I have macro "SUBM" in my 'name-of-your-REXX-PDS' then I just have to enter "SUBM" on the command line each time I want to run it. The drawbacks are that you have to do this setup every time you log in and for any split screens. This is a more ideal way to setup your REXX PDS by including it in your TSO Logon Procedure, but I haven't done that yet since I wanted to see if what I wanted to do was even possible before going through the steps to get that setup. I found this information here: http://theamericanprogrammer.com/programming/rexxsetp.shtml
  • Select all TRACE ?R is very helpful! Use it!

Return to JCL

  • Related topics Replies Views Last post
  • Board index
  • The team • All times are UTC

JCL - IF/THEN/ELSE/ENDIF Statements

The below keywords can include a stepname and procstepname to refine the test to a specific job step.

A Keyword List

Example 1: Let us see simple IF condition example,

Explanation:

In this example, After STEP01 is completed we check the Return code of STEP01 step. if return code is zero then STEP02 step will execute else step STEP03 will be executed.

If you not given the stepname, then the highest return code from all job steps is taken for checking.

ABENDCC - Using ABENDCC we can check System/User completion codes.

Suppose you want to check error code of particular step, give stepnname.ABENDCC, If you not given the stepname, most recent ABEND code that occured is taken for checking.

ABEND - checks for an abnormal end of a program

If you not given any stepname, all steps prior to this condition will be checked.

You can nest another IF construct after the THEN clause or the ELSE clause. You can nest IF/THEN/ELSE/ENDIF statement constructs up to 15 levels of nesting.

Let's see few more examples below.

The return code of STEP01 is tested in IF1. If it is 0, then STEP02 is executed. Else, the processing goes to the next IF statement (IF2).

In IF2, If STEP01 has started execution, then STEP03a and STEP03b are executed.

In IF3, If STEP03b does not ABEND, then STEP04 is executed. In ELSE, there are no statements. It is called a NULL ELSE statement.

In IF4, if STEP01.RC = 0 and STEP02.RC <=4 are TRUE, then STEP05 is executed.

In IF5, if the proc-step PST1 in PROC PRC1 in jobstep STEP05 ABEND, then STEP06 is executed. Else STEP07 is executed.

The IF-THEN-ELSE will not be executed in the case of abnormal termination of the job such as user cancelling the job, job time expiry or a dataset is backward referenced to a step that is bypassed.

If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!

⇐ Previous ⇑ Back to top Next ⇒

Are you looking for Job Change? Job Portal

Create New User Login Account with Juniper Networks

  • Shariah Compliant Personal Financing (i-FUND)
  • Online Personal Loan
  • Be A Partner
  • Product Financing

Contact Form

Contact numbers, our location.

  • Corporate Social Responsibility (CSR)
  • Privacy Notice

customer case id jcl

At JCL, we put our customers at the center of everything we do. The voice of our customers matter most to us.

For any inquiries, please contact us via:

Landline              : 03-26167900 Mobile                 : 018-2012837 (WhatsApp text only)

Prefer to meet us in person? Visit our office for a chat.

Kuala Lumpur – HQ

Wisma BH Ground, 1 st , 2 nd , & 3 rd floor No, 361, Jalan Pudu, 55100 Kuala Lumpur.

Personal Loan: 018-2011400 Email: [email protected]

customer case id jcl

Last updated 29 Jan 2024

Follow us on:

JCL Credit Leasing Sdn Bhd (413411-H)

Wisma BH Ground & 1st Floor No, 361, Jalan Pudu, 55100 Kuala Lumpur

03-26167900

License no. WL3960/14/01-10/210924

License validity 22/09/2022 – 21/09/2024

Ad permit no. WP3960/14/01-6/210924

Ad permit validity 3/10/2022 – 21/09/2024

Please contact us through WhatsApp (Text-only)

General Financing Inquiry 018-2012837

Operating hours

Monday - Friday: 9:00 AM - 6:00 PM. Last Saturday of the month: 9:00 AM - 6:00 PM. Note: should a public holiday fall on the last Saturday, business operations shall be moved to the previous week (third week).

Conditional Statements in JCL Templates

InfoSphere® DataStage® allows you to perform conditional processing in the JCL templates. You must modify the JCL templates to determine what JCL statements are included in the generated JCL. The construct is:

In this case, +varname is formatted as +varname rather than %+varname . Do not use the % in these names; use only the + . The names must begin with an alphabetic character and can contain only alphabetic or numeric characters. They can also be mixed uppercase and lowercase.

Each %. conditional construct must start in column 1 of the JCL template being modified. You can use more than one conditional statement in a single JCL template, however, you cannot have multiple levels, or nested conditional statements.

When an operator and a value are included in the %.if construct, one or more spaces are allowed before, between, and after each element. The operator can be = or <> . The format of the value can be: string_value or %+string_ext_var .

If +varname has a non-blank, non-null value assigned on the Extensions page of the Job Properties dialog box, the test is true and the statements following %.if and preceding %.else will be generated during JCL generation. Otherwise the statements following %.else will be generated during JCL generation.

As an example, you can use this capability to determine whether to use a production or test data set in a job. The JCL statements could be:

If the extension variable qual has the value TEST specified on the Extensions page of the Job Properties dialog box, and the file name from the stage is CUSTOMER.DATA , the DSN that will be generated is TEST.CUSTOMER.DATA . If qual has no value, the DSN will be PROD.CUSTOMER.DATA .

  • 90% Refund @Courses
  • PHP Tutorial
  • PHP Calendar
  • PHP Filesystem
  • PHP Programs
  • PHP Interview Questions
  • PHP IntlChar
  • PHP Image Processing
  • PHP Array Programs
  • PHP String Programs
  • PHP Formatter
  • Web Technology

Related Articles

  • Solve Coding Problems
  • Power Center components in Informatica
  • Robots with a different purpose
  • Combinatorial Game Theory | Set 4 (Sprague - Grundy Theorem)
  • Automating a Google Form Filling Task Using UiPath
  • What is ARCore?
  • Introduction to Informatica
  • Go Operators
  • Impact going to be created by Augmented Reality and Virtual reality
  • Who lost it - Apple or FBI?
  • Viral Marketing is not What we Thought
  • Benefit Of IoT in Healthcare Sector
  • Challenges in World Of IoT
  • Understanding Digital Rights Management
  • MPI - Distributed Computing made easy
  • Scanning and its Tools
  • Google Cloud Platform - Securing Cloud Run REST API using JWT

JCL (Job Control Language)

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now !

Looking for a place to share your ideas, learn, and connect? Our Community portal is just the spot! Come join us and see what all the buzz is about!

Please Login to comment...

  • Write From Home
  • Top 12 AI Testing Tools for Test Automation in 2024
  • 7 Best ChatGPT Plugins for Converting PDF to Editable Formats
  • Microsoft is bringing Linux's Sudo command to Windows 11
  • 10 Best AI Voice Cloning Tools to be Used in 2024 [Free + Paid]
  • 10 Best IPTV Service Provider Subscriptions

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

Can I use a different User ID to validate JCL with JCLCheck?

Article id: 44465, updated on:, issue/introduction.

Can I use a different User ID to validate JCL w ith JCLCheck?

Environment

Release: 12.0  Component: JCLCheck Workload Automation

Use the JCLCheck Alternate User ID feature to validate the JCL using a different User ID that the job would normally run under.  The Alternate User ID feature uses the runtime option of SIGNON USER(userid) .   To activate the use of the SIGNON option, you will need to remove the SIGNON option from the CAZ2JOEL table. 

Use CAZ2JCL member MZ2C049 to update the CAZ2JOEL table and add the line below,

* $OEL SIGNON (SIGNON OPTION)

Submit MZ2C049 to apply the update.

Additional Information

Review documentation on Alternate User ID Feature .

Wolken Software

Search code, repositories, users, issues, pull requests...

Provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can JCL language id be changed to lower case "jcl" #127

@travatine

travatine commented May 6, 2020

@spgennard

spgennard commented May 6, 2020

Sorry, something went wrong.

travatine commented May 7, 2020

Spgennard commented may 7, 2020.

@spgennard

travatine commented May 8, 2020

No branches or pull requests

@spgennard

IMAGES

  1. What is difference between Case ID and External Case Number?

    customer case id jcl

  2. The Ultimate Guide to Job Control Language (Mainframe JCL

    customer case id jcl

  3. Using JCL

    customer case id jcl

  4. Find Your Customer ID and Name

    customer case id jcl

  5. JCL

    customer case id jcl

  6. Create a case in Customer Service Hub

    customer case id jcl

VIDEO

  1. Arno's leap of faith in Assassins Creed Unity #arnodorian #assassinscreed

  2. SOMETHINC Hooman Under Control HD Blur Loose Powder

  3. PUBG MOBILE

  4. SDM Jyoti Maurya Case: एक कॉल रिकॉर्डिंग जो ज्योति मौर्या को फसाने के लिए काफी है, स्वीकारी ये बात

  5. //www.idea-auto.eu// FORD C-MAX MKIII 2.0 TDCi *wideo-prezentacja*IDEA-AUTO* Suchy Las k./ Poznania

  6. A lego man blows himself up

COMMENTS

  1. FAQs

    Ref 1: JomPAY Case ID (customer's unique identification number). Ref 2: MyKad number. Why do I need to send a screenshot of an online payment via WhatsApp? ... Ref 1: Your JomPAY case ID number which JCL has provided you during agreement signing. Ref 2: Your identity card (IC) number.

  2. JCL exercise: Creating and submitting a job

    JCL exercise: Creating and submitting a job This exercise takes you through the process of creating a data set member for JCL, coding JCL (using a predefined sample), submitting the job, and viewing the job output.

  3. JCL sample to TERSE & UPLOAD files to Broadcom support case

    cd / siteid/case number /files_from_customer/ bin put tersed.dataset.name file.name.on.case quit // where: untersed.dataset.name is the file you want to compress and attach to the case. tersed.dataset.name is how the output will be named. [email protected] is the email address you use to log on to Broadcom Support Online.

  4. JCL statements

    Table 1. MVS Job Control Language (JCL) Statements Statement Name Purpose // command JCL command Enters an MVS™ system operator command through the input stream. The command statement is used primarily by the operator. Use the COMMAND statement instead of the JCL command statement. // COMMAND command

  5. JCL

    Explanation: In this example, input to MYPROG is passed through SYSIN. The data is provided within the JCL. Two records of data are passed to the program. Please note that /* marks the end of instream SYSIN data. "KALAI 1000" is record1 and "SRINI 2000" is record2.

  6. What Is a Unique Settlement ID Number?

    What is it? A unique settlement ID number is exactly what it sounds like: it's a number that a class action settlement administrator uses to identify who each claim belongs to. Here's how it all works. Take the image at the top of this page, for example.

  7. JCL sample to upload files to Broadcom support case

    case number is the case number you want to upload the file into. mode ASCII or BINARY. Use ASCII for human-readable flat files, source listings, logs, etc. Use BINARY for SVC dumps, TERSEd files etc. dataset-name is the file you want to upload into the case.

  8. COBOL ACCEPT Statement

    ACCEPT statement receives the data only from external sources like JCL. FROM is optional. When the FROM phrase is ignored, the default system input device is considered as the input device, and the user should provide the input.

  9. How to Pay

    Enter your case ID given by JCL as Ref-1. Enter your IC number as Ref-2. Enter your payment amount. FPX Payment Easy online installments through our website. Pay Now Direct Debit (e-Mandate) Register your direct debit account with JCL.

  10. JCL EXEC statements: What are JCL procedures?

    In this example procedure: The PROC and PEND parameters identify the beginning and end of the JCL procedure. PROC is preceded by a label or name; in this example, the name is MYPROC.The PROC and PEND parameters are unique to procedures.; The first (and only) step in the procedure is the EXEC statement named MYSORT, which identifies the program SORT as the program to be run.

  11. Support Content Notification

    Support Content Notification - Support Portal - Broadcom support portal. x. This is a msg body.

  12. Best Practices in Job Control Language (JCL) Management

    JCL Best Practice #4 - Define your JCL life cycle. When the life cycle for your installation has been described, it may look like this example, or it may appear different, depending on your environment. In any case, it can be used as a baseline reference to measure JCL management the same way application code is tested, supported, and managed.

  13. Automatically Change Job Card Name To User ID?

    In the EXEC, first get the user id name, read your submitted JCL top down, substitute the user id name on the job card, use ISREDIT SUBMIT MACRO to submit the edited JCL. ... you, WIlly, this works perfectly! I really like your idea of restoring Line 1 when the macro is finished. That way in case something goes wrong or someone runs this on a ...

  14. Jcl Jaccess

    This website is owned by JCL CREDIT LEASING SDN.BHD. (413411-H) Want to know more about us, go to https://jcl.my/ 0.586 ...

  15. JCL

    JCL programmers with less experience find COND parameter little confusing and boring and it is easier to read and understand IF-ELSE-END-IF condition in JCL. Syntax:

  16. Create New User Login Account with Juniper Networks

    Solution To create a new customer login account, review the requirements and perform the following steps: Requirements The user account must be your company's main email address, that is, [email protected]. Note: Juniper Networks accepts public email domains (Hotmail, Gmail and so on) for Guest account creation only.

  17. Contact Us

    Last updated 29 Jan 2024 At JCL, we put our customers at the center of everything we do. The voice of our customers matter most to us. Contact Form Contact Numbers For any inquiries, please contact us via: Landline : 03-26167900Mobile : 018-2012837 (WhatsApp text only) Our Location Prefer to meet us in person? Visit our office for a

  18. Conditional Statements in JCL Templates

    You can use more than one conditional statement in a single JCL template, however, you cannot have multiple levels, or nested conditional statements. When an operator and a value are included in the %.if construct, one or more spaces are allowed before, between, and after each element. The operator can be = or <> .

  19. JCL (Job Control Language)

    Job Control Language (JCL) is a scripting language that describe jobs, to the Operating System that runs in the IBM large server (Mainframe) computers. JCL acts as an interface between your application programs (COBOL, PL/1 , Assembler etc) and Mainframe OS (MVS or Z/OS).

  20. regex

    This does assume that the user-id of the existing JOBs will be the same as the user-id of the new JOBs, in which case the replacement JOB name is not going to cause the extension of the JOB card. If this is not the case, if the user-id on the original JOB cards is shorter, or indeed not a user-id at all and is shorter, either all or some, then ...

  21. Dataquery JCL using mixed case or lower case

    Dataquery JCL using mixed case or lower case. book Article ID: 212225. calendar_today Updated On: Products. Datacom/DB. ... If you are not changing the profile to allow mixed case, then even if you load the query in mixed case, as soon as you would bring it up to review or submit, it would be changed to all caps. ... Article ID: 212225 ...

  22. Can I use a different User ID to validate JCL with JCLCheck?

    Use the JCLCheck Alternate User ID feature to validate the JCL using a different User ID that the job would normally run under. The Alternate User ID feature uses the runtime option of SIGNON USER(userid).To activate the use of the SIGNON option, you will need to remove the SIGNON option from the CAZ2JOEL table.

  23. Can JCL language id be changed to lower case "jcl" #127

    Whilst a number of other VS code extensions use the id "jcl" ( lower case) . The "VS Code" docs suggest it is a good idea to use "lower case" for langauge ids. New identifier guidelines# When defining a new language identifier, use the following guidelines: Use the lowercased programming language name. ...