IEH progm control card error



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

Re: IEH progm control card error

Postby gowthamgyaa » Thu Oct 04, 2012 8:28 pm

@Nicc & Robert
Thanks for providing me the guidance. With my novice knowledge i thought comma is for continuation.


Kind regard's
gyaa
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time

Re: IEH progm control card error

Postby NicC » Thu Oct 04, 2012 8:32 pm

Even after reading ALL of Robert's post?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: IEH progm control card error

Postby gowthamgyaa » Thu Oct 04, 2012 8:39 pm

@Nicc,
Ya you are right, the first doubt for me is i am been used only 30columns, so from Robert what i understood is if i exceeded 71 columns inorder to continue i need to have a non blank character , i think non blank character is for space, tab, and enter, so i had just used that.

Kind regard's
gyaa
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time

Re: IEH progm control card error

Postby NicC » Thu Oct 04, 2012 9:03 pm

You have to make the distinction between a statement and a line. A statement may fit on one line or may go over multiple lines - depends on the program that is going to read that statement. If it allows a statement to go over multpile lines then it may require an indicator to let it know that this is happening. A trailing comma may mean that a final optional part of the statement has not been coded - although it would be wiser in that case to omit the trailing comma. That is why some programs require the non-blank in col. 72. It varies from program to program. The older the program the more likely you are to need it as they were written when memory was small (less than what you may have in your mobile phone!) so short-cuts such as the continuation marker exist.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
gowthamgyaa (Thu Oct 04, 2012 10:10 pm)
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: IEH progm control card error

Postby dick scherrer » Thu Oct 04, 2012 9:21 pm

Hello,

When one is new (or even not new), the "old" utilities can be a pain. They were very strictly implemented. And not necessarily with the "same rules". Many people (everyone i work with) have working samples and simply clone them as needed or have tools that genereate the jcl and control statements - if they are even going to use the old utilities.

Fortunately, other than IDCAMS, developers do not have to use these very often. Unfortunately, you are struggling with IDCAMS :)

Good luck and plan on some frustration until this becomes more familiar.
Hope this helps,
d.sch.

These users thanked the author dick scherrer for the post:
gowthamgyaa (Thu Oct 04, 2012 10:12 pm)
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: IEH progm control card error

Postby steve-myers » Fri Oct 05, 2012 4:01 am

gowthamgyaa wrote:@Nicc & Robert
Thanks for providing me the guidance. With my novice knowledge i thought comma is for continuation.


Kind regard's
gyaa
You have to have the comma (,) there. though the comma does not imply continuation by itself.

The syntax of the IEHPROGM, IEHLIST and IEHMOVE control statements is roughly similar to the JCL syntax in early OS/360 releases. It is a mystery to me why IBM didn't relax the syntax at about the same time (1969 or thereabout) they relaxed the syntax in OS/360 JCL,
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: IEH progm control card error

Postby gowthamgyaa » Fri Oct 05, 2012 7:01 am

@steve
Thank you for your kind reply steve.
If comma should be there, what might be the error in the above statement, can u kindly guide me in this.


Kind regards
gyaa
gowthamgyaa
 
Posts: 101
Joined: Wed Sep 05, 2012 11:18 pm
Has thanked: 67 times
Been thanked: 0 time

Re: IEH progm control card error

Postby dick scherrer » Fri Oct 05, 2012 8:05 am

Hello,

Without going back over everything, i suspect you need to put an X in pos 72 of the line(s) to be continued. . . As has been explained before. I use X - any non-blank may work.
Hope this helps,
d.sch.

These users thanked the author dick scherrer for the post:
gowthamgyaa (Fri Oct 05, 2012 2:36 pm)
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: IEH progm control card error

Postby Robert Sample » Fri Oct 05, 2012 8:08 am

The JCL in your original post is given again here:
//JOB STATEMENT
//STEP1 EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD VOL=SER=ASMS04,UNIT=3390,DISP=SHR
//SYSIN DD *
      RENAME=*****.TECH.EMP,VOL=3390=ASMS04,
      NEWNAME=*****.TECHIN.EMP
/*
//
as you have been REPEATEDLY told, the line starting " RENAME" (the sixth line of the post) must have a non-blank character in column 72. This character is used to denote that the next line is a continuation of the current line and this is the ONLY way you can denote a continuation line in the IEHPROGM utility.

These users thanked the author Robert Sample for the post:
gowthamgyaa (Fri Oct 05, 2012 2:36 pm)
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: IEH progm control card error

Postby steve-myers » Fri Oct 05, 2012 8:25 am

I learned how to use these programs in 1968 or 1969 by Reading The F*** Manual. We have been kind enough to give you the manual title. It is up to you to locate the manual and read it yourself. We are not here to do that for you, especially since it is clear you are not illiterate. You will not be successful, either as a student or as a professional in this career if you are unable or unwilling to do this for yourself. RTFM.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

PreviousNext

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post