Can this be a continuation? Comment?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Can this be a continuation? Comment?

Postby Howard-Training » Wed Oct 02, 2013 10:08 pm

I've taught JCL but this is new to me. Can line 2 "// F G088C,..." be a continuation? A comment? What is it?
//STEP1   EXEC PGM=IEFBR14                                              00000030
// F G088C,F=LECD,C=2                                                   00000040
/*                                                                      00000050
//STEP2    EXEC PGM=LE...

These look like PARMS to me but I don't recall coding anything this way.
We received this from another site and I don't have any tools to run or test it here.
Howard-Training
 
Posts: 2
Joined: Wed Oct 02, 2013 8:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can this be a continuation? Comment?

Postby steve-myers » Wed Oct 02, 2013 10:22 pm

Howard-Training wrote:I've taught JCL but this is new to me. Can line 2 "// F G088C,..." be a continuation? A comment? What is it?
//STEP1   EXEC PGM=IEFBR14                                              00000030
// F G088C,F=LECD,C=2                                                   00000040
/*                                                                      00000050
//STEP2    EXEC PGM=LE...

These look like PARMS to me but I don't recall coding anything this way.
We received this from another site and I don't have any tools to run or test it here.
It is an operator command directed at job or started task G088C.

Something like this is very problematic.
  1. Your system may be set to not execute the command at all.
  2. If it is executed, it is executed when the job is "converted."
  3. If it is executed, it is executed on the system where the job is "converted," which may not be the system where the job executes.
  4. If it is executed, I don't know where any command output will appear.
  5. Execution of the job may be delayed for one reason or another.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Can this be a continuation? Comment?

Postby Howard-Training » Wed Oct 02, 2013 11:15 pm

Thank you. I will puzzle over how we should treat it. This IEFBR14 is the only step inthe job so I'll have to ponder what possible use it has other than as a quirky way to document.
Howard-Training
 
Posts: 2
Joined: Wed Oct 02, 2013 8:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can this be a continuation? Comment?

Postby Robert Sample » Wed Oct 02, 2013 11:39 pm

It is NOT a "quirky way to document" -- it is an operator console command. For example (assuming appropriate system access), if the line read
// F CICSX,"CEMT P SHUT"
when the job is converted/interpreted by JES, CICS region CICSX will start its shutdown procedure.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Can this be a continuation? Comment?

Postby Akatsukami » Thu Oct 03, 2013 12:24 am

Howard-Training wrote:This IEFBR14 is the only step inthe job so I'll have to ponder what possible use it has other than as a quirky way to document.

Remember that every job must have at least one step. If this job has no purpose other than to send a MODIFY command to a started task, IEFBR14 provides a null step.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post