//CBLPARJ3 JOB SIMOTIME,ACCOUNT,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1 //* ******************************************************************* //* This program is provided by: * //* SimoTime Enterprises, LLC * //* (C) Copyright 1987-2005 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Process a parameter string passed from the JCL //* Author - SimoTime Enterprises //* Date - January 24, 1996 //* //* This is a sample program that shows how a COBOL program can //* process input from the JCL using SYSIN. //* //* This set of programs will run on a mainframe under MVS or on a //* Personal Computer with Windows and Micro Focus Mainframe Express //* //* ******************************************************************* //* Step 1 of 3, Execute the COBOL program without a parameter. //* //* The //SYSIN DD DUMMY is required to prevent the COBOL //* program from ABENDING on the ACCEPT ... from SYSIN. //*
//PARJ3S01 EXECPGM=CBLPARC3
//STEPLIB DDDSN=SIMOTIME.DEMO.LOADLIB1,DISP=SHR
//SYSIN DD DUMMY //* //* ******************************************************************* //* Step 2 of 3, Execute the COBOL program with multiple parameters. //*
//PARJ3S02 EXECPGM=CBLPARC3
//STEPLIB DDDSN=SIMOTIME.DEMO.LOADLIB1,DISP=SHR
//SYSIN DD *
This is Parameter 01 from PARJ3S02 and SYSIN-DD-*.
This is Parameter 02 from PARJ3S02 and SYSIN-DD-*..
This is Parameter 03 from PARJ3S02 and SYSIN-DD-*...
/* //* //* ******************************************************************* //* Step 3 of 3, Execute the COBOL program with control file. //*
//PARJ3S03 EXECPGM=CBLPARC3
//STEPLIB DDDISP=SHR,DSN=SIMOTIME.DEMO.LOADLIB1
//SYSIN DDDISP=SHR,DSN=SIMOTIME.DEMO.PARMLIB1(CBLPARS3) //*
//
¤ Dauer der Verarbeitung: 0.23 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.