Author |
Message |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Wed Apr 28, 2004 8:37 pm Subject: Incrementing Symbolic Parameter |
Thanks a ton "SUPERK". It is working for me too. I guess it was just one of those days. |
Topic: Split Files |
abhikush
Replies: 8
Views: 5151
|
Forum: Utilities Posted: Sun Apr 25, 2004 9:25 am Subject: Split Files |
Thanks Frank.
I will try it out. |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Fri Apr 23, 2004 9:06 pm Subject: Incrementing Symbolic Parameter |
SUPERK what I am doing wrong
I defined the following three statements right after the job card (//JOB):
// SET NUM=001
//PRC JCLLIB ORDER=MY.PDS
// INCLUDE MEMBER=NUM
NUM ha ... |
Topic: Split Files |
abhikush
Replies: 8
Views: 5151
|
Forum: Utilities Posted: Fri Apr 23, 2004 6:35 pm Subject: Split Files |
Yes that is the idea. But what I am planning to do is split the file based on a key and if the keys are more than certain number say 15 then I will create 15 + 1 file. i.e. 15 files based on the key a ... |
Topic: Split Files |
abhikush
Replies: 8
Views: 5151
|
Forum: Utilities Posted: Fri Apr 23, 2004 5:30 pm Subject: Split Files |
Is there a way to achieve the following in sort
Input Records:
1
1
1
2
2
3
3
3
3
3
Output Record of File 1
1
1
1
Output Record of File 2
2
2
Output Record of File 3
3
3
3
... |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Mon Apr 19, 2004 2:58 pm Subject: Incrementing Symbolic Parameter |
Thanks Mike. It works.
SuperK thanks for the idea. |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Sun Apr 18, 2004 12:10 pm Subject: Incrementing Symbolic Parameter |
Thanks "superk".
Now the next question will be how do I increment the value in 'MY.PDS(NUM)' automatically. |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Sat Apr 17, 2004 9:57 am Subject: Incrementing Symbolic Parameter |
Well using set at the begining of the job will mean I have to write 100 Jobs for 100 different files.
I will be calling a job recursively. i.e
____________________________________________________
... |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Fri Apr 16, 2004 3:41 pm Subject: Incrementing Symbolic Parameter |
Kolusu,
Had it been only 2 files I would have done so. I have around 100 files. Coding for each of them is certainly an idea. But it would be tedious.
If I explain what I am trying to achieve m ... |
Topic: Eliminating non-duplicate records |
abhikush
Replies: 3
Views: 1986
|
Forum: Utilities Posted: Fri Apr 16, 2004 3:06 pm Subject: Eliminating non-duplicate records |
Thanks Frank. I will try it out. |
Topic: Incrementing Symbolic Parameter |
abhikush
Replies: 14
Views: 12605
|
Forum: Job Control Language(JCL) Posted: Fri Apr 16, 2004 3:04 pm Subject: Incrementing Symbolic Parameter |
Is there a way to increment the symbolic parameter in the JCL?
I would like to define a file as:
USERID.FILE&NUM..IN
I want to start with NUM = 01 and increment it by 1. So that 1st file will be ... |
Topic: Eliminating non-duplicate records |
abhikush
Replies: 3
Views: 1986
|
Forum: Utilities Posted: Fri Apr 16, 2004 2:41 pm Subject: Eliminating non-duplicate records |
Is there a way by which we can eliminate non-duplicate records using SORT.
Let's say I have records:
1
1
1
2
3
4
4
4
4
The output file should look like:
1
1
1
4
4
4
4 |
|