Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Internal reader job submission

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vtham

New User


Joined: 08 Aug 2007
Posts: 9
Location: Chennai

PostPosted: Thu Aug 09, 2007 3:10 pm    Post subject: Internal reader job submission
Reply with quote

Hi All,

I have a requirement to submit my next jcl by using internal reader technique, usually when I submit a job with jobname eg. "ABCDEFGH", my RACF ID gets replaced in the place of first 7 characters with the last character "H" placed after it.

Here when I submit a job using internal reader technique, my RACFID is not getting placed at the first 7 positions of the job name, instead the same name as given in next JCL eg. "XYZABCDH" is used.

This makes me to move to the spool of "XYZABCD" rather than in the spool under my ID.

Is there any facility to have the jobs spooled under the ID who ever submits the job other than the jobname given in the JCL??


Please advise.
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Aug 09, 2007 3:18 pm    Post subject:
Reply with quote

Could you try all jobs and use the OWNER filter?
Back to top
View user's profile Send private message
vtham

New User


Joined: 08 Aug 2007
Posts: 9
Location: Chennai

PostPosted: Thu Aug 09, 2007 3:35 pm    Post subject:
Reply with quote

OWNER RACFID => list the jobs under that RACF, but when the i have a stream of jobs with different job names, I would be pushed to get into the spool of all the different jobs, I would like to have the JOBS under my spool.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 09, 2007 4:42 pm    Post subject:
Reply with quote

How is the JCL for the submitted job generated ?
Back to top
View user's profile Send private message
vtham

New User


Joined: 08 Aug 2007
Posts: 9
Location: Chennai

PostPosted: Thu Aug 09, 2007 4:54 pm    Post subject:
Reply with quote

The JCL's are pre-created as different members in the PDS. they are not generated in run time.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Aug 09, 2007 5:06 pm    Post subject:
Reply with quote

You can try another method: instead of submitting the jobs through INTRDR, you can write a tiny REXX (probably an Edit-Macro) to replace the jobname temporarily, then SUBMIT the member.

O.
Back to top
View user's profile Send private message
vtham

New User


Joined: 08 Aug 2007
Posts: 9
Location: Chennai

PostPosted: Thu Aug 09, 2007 5:22 pm    Post subject:
Reply with quote

yes, REXX could be used...i already have one of that type, but I requirement is to use only JCL icon_smile.gif
could you please advise me a solution with JCL??
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Aug 09, 2007 8:59 pm    Post subject:
Reply with quote

I don't think you can do it with JCL solely, since JCL is just a control language. You will have to use some application (IEBGENER, SORT, REXX, COBOL etc.).

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 10, 2007 5:39 pm    Post subject:
Reply with quote

Hi,

If this
vtham wrote:
The JCL's are pre-created as different members in the PDS. they are not generated in run time.
and you can use
ofer71 wrote:
You will have to use some application (IEBGENER, SORT, REXX, COBOL etc.).
then perhaps the following JCL can help you:
Code:
//RACFIDH JOB (@),'SUBMIT ANOTHER JCL',                   
//          MSGCLASS=R,NOTIFY=@SYSUID,CLASS=0             
//*                                                       
//STEP001  EXEC UCC11RMS,PARM=F                           
//*                                                       
//STEP002  EXEC PGM=IEBEDIT                               
//SYSUT1   DD DSN=HLQ.JCL(OUTREC),DISP=SHR     
//SYSUT2   DD SYSOUT=(*,INTRDR)                           
//SYSPRINT DD SYSOUT=*                                     
//SYSIN    DD DUMMY                                       
/*                                                         
//*                                                       

where HLQ.JCL(OUTREC) will contain the next JOB with JOB-name as your RACFIDH.

Hope this helps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting soc4 on internal table in cobol abdulrafi COBOL Programming 13 Fri May 06, 2016 3:39 pm
No new posts Skipping a record from Internal SORT Keanehelp COBOL Programming 4 Tue Jul 28, 2015 9:15 pm
This topic is locked: you cannot edit posts or make replies. How to Compare two values in an inter... ritnihi COBOL Programming 6 Wed Jun 10, 2015 11:49 am
No new posts DB2 Load using DSNUTILB with FORMAT I... yogi.47eie DB2 4 Wed May 28, 2014 4:54 pm
No new posts Array overflow on Internal table - An... scdinesh COBOL Programming 13 Thu May 22, 2014 2:55 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us