Search found 50 matches
- Fri Apr 08, 2016 7:39 pm
- Forum: JCL
- Topic: Add Numeric Values Using JCL
- Replies: 1
- Views: 4415
Add Numeric Values Using JCL
Hi All, Can anyone please look into the below question. I have a 80 byte file with the below records. 164 NUMS:000001 123 NUMS:000001 122 NUMS:000001 223 NUMS:000001 444 NUMS:000001 Need output as below. 164 NUMS:000001 123 NUMS:000001 122 NUMS:000001 223 NUMS:000001 444 NUMS:000001 SUM :000005 When...
- Thu Jul 02, 2015 12:22 am
- Forum: JCL
- Topic: Copy one PS file into another PS file by Multiple times
- Replies: 5
- Views: 7886
- Wed Jul 01, 2015 11:57 pm
- Forum: JCL
- Topic: Copy one PS file into another PS file by Multiple times
- Replies: 5
- Views: 7886
Thanks William, OUTFIL with REPEAT is working, but i have one more question. Please see below. Input file: 01 02 03 Now for the above input I am using OUTFIL REPEAT = 3, I am getting the ouput as below. Output: 01 01 01 02 02 02 03 03 03 but I want the output as below. Output: 01 02 03 01 02 03 01 0...
- Wed Jul 01, 2015 6:11 pm
- Forum: JCL
- Topic: Copy one PS file into another PS file by Multiple times
- Replies: 5
- Views: 7886
Copy one PS file into another PS file by Multiple times
Hi,
I want to copy a PS File which is having 100 records and this PS file should copy multiple times into another PS File say like 10 times.
So the output will be having 1000 records. Please anybody look into this. Thanks.
Regards,
Venky.
I want to copy a PS File which is having 100 records and this PS file should copy multiple times into another PS File say like 10 times.
So the output will be having 1000 records. Please anybody look into this. Thanks.
Regards,
Venky.
- Thu Oct 17, 2013 10:03 pm
- Forum: COBOL
- Topic: Return-code
- Replies: 11
- Views: 12179
Hi William, Exactly you are right! Actually I am writing a program like if a dataset is empty I am sending Maxcc=8 and If a dataset is having data in it then I am sending Maxcc=0 by using return-code. Please look into the below code. If file-status-code = 0 move 8 to return-code else move 0 to retur...
- Thu Oct 17, 2013 11:06 am
- Forum: COBOL
- Topic: Return-code
- Replies: 11
- Views: 12179
Hi Guru, No I don't want in sysout, in sysout if we want to display we can use 'Display' in the program. When we run any program we will be seeing the message like maxcc=0 after completing the job right? Below that maxcc=0 message only I need to dispaly 'data is not matching'. can we do this? Thanks...
- Wed Oct 16, 2013 10:43 pm
- Forum: COBOL
- Topic: Return-code
- Replies: 11
- Views: 12179
Thanks Dikdude, I have included the code like below. If file-status-code = 0 move 8 to return-code else move 0 to return-code end-if. here,when I am submitting the job I am getting Maxcc=8 it depends upon the input file. Now, my question is instead of 8 or 0, can we pass alphabetic data into any oth...
- Wed Oct 16, 2013 8:00 pm
- Forum: COBOL
- Topic: Return-code
- Replies: 11
- Views: 12179
Return-code
Hi All, As we know that Return-code is to send condition code(maxcc) when we submit the job based on logic in our program. Is there is any parameter like Return-code to send Alphabetic data instead of numeric data. like i want to display message in alphabetic after submitting the job as we are getti...
- Tue Oct 08, 2013 9:40 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Moving Data
- Replies: 1
- Views: 2849
Moving Data
Hi All, I have a file having the records metioned below with 80 bytes. Input file : October GIT S12345 SH 10/2/13 123456 B99 Now I want the ouput as below. October GIT S12345 SH 10/2/13 123456B99 Here in the output file B99 is concatenated with the above record '123456'. Please let me know if there ...
Thank you Williams, NicC, I don't know. I thought Outrec is a part of JCL because In JCL only we are able to use it, without JCL we can't able to execuate this Outrec. now I came to know outrec is a sort statement. okay anyways for your suggesstion...next time i will post in correct way. Regards, Ve...
Outrec
Hi All, I have input file based on condition I am getting two outputs. Please see below. step01 exec pgm=sort dd1 dd dsn=infile,disp=shr sortof01 dd dsn=outfile1----> i am creating this output sortof02 dd dsn=outfile2----> i am creating this output sysin dd * sort fields=copy outfil files=01,include...
- Tue Aug 13, 2013 7:13 pm
- Forum: JCL
- Topic: Format the Data
- Replies: 2
- Views: 3437
Format the Data
Hi All, I have a PS file having record length 200 and in this PS file I have 4 records as below. john erwin edge wood New york United states of America can we reformat the above data as below by using a JCL, I need to get the above 4 records into 1 record I mean in single line. john erwin edge wood ...
- Thu Jul 18, 2013 3:16 am
- Forum: COBOL
- Topic: Set a password for PDF
- Replies: 2
- Views: 3505
Set a password for PDF
Hi All,
I have a program, If I submit this program in a JCL, I will be getting a PDF file to my inbox.
Can we set a password for PDF file by using a Cobol program or by using a JCL?
Please help me if there is any procedure to SET A PASSWORD FOR THE PDF FILE. Thanks.
Regards,
Venky.
I have a program, If I submit this program in a JCL, I will be getting a PDF file to my inbox.
Can we set a password for PDF file by using a Cobol program or by using a JCL?
Please help me if there is any procedure to SET A PASSWORD FOR THE PDF FILE. Thanks.
Regards,
Venky.
- Thu Apr 04, 2013 12:52 am
- Forum: JCL
- Topic: Do we have Skiplast parameter in JCL...like we have Skiprec?
- Replies: 6
- Views: 6977
- Wed Apr 03, 2013 9:43 pm
- Forum: JCL
- Topic: Do we have Skiplast parameter in JCL...like we have Skiprec?
- Replies: 6
- Views: 6977
Do we have Skiplast parameter in JCL...like we have Skiprec?
Hi All,
Do we have Skiplast parameter in JCL...like we have Skiprec?
Thanks,
Regards,
Venky.
Do we have Skiplast parameter in JCL...like we have Skiprec?
Thanks,
Regards,
Venky.