View previous topic :: View next topic |
Author |
Message |
sateesh_gontla Beginner
Joined: 23 Jan 2004 Posts: 40 Topics: 16 Location: Bangalore
|
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Aug 01, 2005 5:04 pm Post subject: |
|
|
The parm parameter to what???
JCL is not a language. It does not do any data maipulation. It only invokes programs.
Do you have a specific program in mind? Are you going to write your own? If you need help with a specific program, then this is not a JCL question, but if you need to know how the PARM field gets passed to your program, then it is pointed to by register 1 with 2 bytes of length information. It is a little more complicated than that, but it is in the Assembler Services Guide |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Aug 01, 2005 5:11 pm Post subject: |
|
|
sateesh_gontla,
As Semigeezer mentioned JCL by itself cannot do any thing. It is your PGMS or Utilities that perform the functions.
If your shop has file-aid then the following JCL will give you the desired results.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
sateesh_gontla Beginner
Joined: 23 Jan 2004 Posts: 40 Topics: 16 Location: Bangalore
|
Posted: Fri Aug 05, 2005 10:35 am Post subject: |
|
|
Hi Kolusu,
The position is not constant, if it constant i don't have any problems. But this can be there any where in the row .
Please advise....
Thanks. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Aug 05, 2005 10:42 am Post subject: |
|
|
Quote: |
Hi Kolusu,
The position is not constant, if it constant i don't have any problems. But this can be there any where in the row .
Please advise
|
sateesh_gontla,
I bet you did not run the jcl posted by me ! . The above jcl posted works for any position of the search string. The control cards will scan each from 1 position till the end of the record and if the string is found any where it will be replaced. That is the advantage of specifying zero (0) as length.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
sateesh_gontla Beginner
Joined: 23 Jan 2004 Posts: 40 Topics: 16 Location: Bangalore
|
Posted: Fri Aug 05, 2005 2:47 pm Post subject: |
|
|
Thanks much !!! ........ |
|
Back to top |
|
 |
|
|