09-25-2017
Hi.
Maybe yes, maybe no, just sayin':
Quote:
...
1. Complete Solution
UV Software's JCL Converter provides a complete solution for migrating mainframe JCL to Korn or Bash shell scripts. It provides much more than just converting the JCL statements to equivalent shell script statements.
The JCL converter handles over 40 IBM and 3rd party utilities, such as: DFSORT,SYNCSORT,ADRDSSU,FTP,IDCAMS,IEBCOPY,IEBGENER,ICEGENER,ICETOOL, IKJEFT01,DSNTIAUL,DSNUTILB,DFSRRC00,ADUUMAIN,AMUUMAIN,EZTPA00,QUIKJOB,etc. See 12 samples of JCL/script conversions begining at
JCLcnv1demo.doc JCL demo conversions [libcnv].
2. Native Shell Scripts
Mainframe JCL is converted to native Unix/Linux Korn or Bash shell scripts, which is much more powerful solution than the JCL emulations provided by some other vendors.
...
Note the dozen samples. See more at
UV_Software_JCL_Conversion_Advantages
Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello.,
i have 2 files..
1 file is in this folder
/home/test/ssk/DSA.WLG.20050713211544.20050710.20050713211544
(this part)
other file is in this folder
/home/kk/dev/DSA.WLG.20050711210100.20050710.20050711210100
... (1 Reply)
Discussion started by: pavan_test
1 Replies
2. UNIX Desktop Questions & Answers
hi all
i am writing the korn shell script.
i have a SQL script which gives me the folowing output
DSA.WLG.20050713211544.20051025.20050713211544 28991 1130198400
DSA.WLG.20050713211544.20051025.20050713211544 25881 1130198400
DSA.WLG.20050711210100.20051025.20050711210100 25881 ... (3 Replies)
Discussion started by: pavan_test
3 Replies
3. AIX
I have this Korn shell script that runs via a cron entry. It runs in a loop "watching" a specific file system for files with a certain name. The file system that it is watching is an upload file system for an FTP server. When files that are the correct name come in, it takes the extension of the... (1 Reply)
Discussion started by: heprox
1 Replies
4. Shell Programming and Scripting
I am sorry, this is really trivial, yet I am not able to understand what the problem is!
I am using korn shell and running this script
#!/bin/ksh
keep=3
while ; do
echo $keep
keep=$(($keep-1))
done
I am getting this error: `keep=$' unexpected
I am not able to understand it because ... (1 Reply)
Discussion started by: Asty
1 Replies
5. Shell Programming and Scripting
I have to solve some exercises in Korn Shell, but i'm having some problems. For example:
Write a korn shell script with an alfanumeric string as argument. The script lists the file's names in the current directory that contain the given string as substring and that can be read and written.
I... (3 Replies)
Discussion started by: burm
3 Replies
6. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a korn shell script with an alfanumeric string as argument. The script lists the file's names in the current directory that contain the given string as substring and that can be read and written.
2. Relevant commands, code,... (3 Replies)
Discussion started by: burm
3 Replies
7. Shell Programming and Scripting
Hi,
I have a shell script which is residing on AIX which is triggered by Mainframe through Connect Direct. The shell script creates several files and sends those files to mainframe using Connect Direct. The shell script is working fine, still it is returning exit code 2 to mainframe.
What... (0 Replies)
Discussion started by: Yogesh Aggarwal
0 Replies
8. Shell Programming and Scripting
There are 4 parameters that I have to pass from korn shell to sql script.
1) I have to check if $1 , $2 , $3 and $4 are null values or not .
How can I do that ?
2) Once its determined that these values are null (in the sense they are empty) how can I pass null values to sql script... (11 Replies)
Discussion started by: megha2525
11 Replies
9. UNIX for Dummies Questions & Answers
Hi guys,
I have a flat file created by ETL tool.
Now the flat file has 4 columns. 1st column is a Character(17), 2nd Column Character(4), 3rd column is a decimal column and 4th column is also a decimal column.
I have to convert this file into a Mainframe file in the following format.
... (4 Replies)
Discussion started by: mac4rfree
4 Replies
10. UNIX for Advanced & Expert Users
Hi,
can we execute mainframe jcl in Unix system. I want to run jcl in unix instead of mainframe.
Thanks in advance.
Please post in an adequate forum! (6 Replies)
Discussion started by: Rajeev Das
6 Replies
LEARN ABOUT DEBIAN
ppd_emit_to_file
ppd_emit_to_file(3) Library Functions Manual ppd_emit_to_file(3)
NAME
ppd_emit_to_file, ppd_emit_to_fd - Output device specific code.
SYNOPSIS
#include <ppd/ppd.h>
gboolean ppd_emit( PpdFile * ppd,FILE *fp,PpdSectionOrder section );
gboolean ppd_emitfd( PpdFile * ppd, int fd,PpdSectionOrder section );
DESCRIPTION
The ppd_emit_* functions output the device specific code appropriate to the specified section that has not already been emitted.. The
PpdFile pointer is obtained from opening a PPD file via the ppd_load(3) family of functions. The section can be any one of the following:
PPD_ORDER_ANY
Option code can be anywhere in the file
PPD_ORDER_DOCUMENT
Option code must be in the DocumentSetup section
PPD_ORDER_EXIT
Option code must be sent prior to the document
PPD_ORDER_JCL
Option code must be sent as a JCL command
PPD_ORDER_PAGE
Option code must be in the PageSetup section
PPD_ORDER_PROLOG
Option code must be in the Prolog section
The sections PPD_ORDER_DOCUMENT and PPD_ORDER_PAGE will also output code from the PPD_ORDER_ANY section.
Once a code section has been emitted it is marked as such and will not be emitted unless it is re-marked.
EXAMPLE
/* Setup code to emitted */
ppd_mark_defaults(ppd);
ppd_mark_option(ppd,"Duplex","DuplexNoTumble");
ppd_mark_option(ppd,"PageSize","A4");
/* Emit initial code (including any reset and JCL code) */
ppd_emit_to_file(ppd,stdout,PPD_ORDER_EXIT);
fputs(ppd->jcl_begin->str,stdout);
ppd_emit_to_file(ppd, stdout, PPD_ORDER_JCL);
fputs(ppd->jcl_ps->str, stdout);
/* Any header comments go here */
...
/* Prolog section */
printf("%%%%BeginProlog0);
ppd_emit_to_file(ppd, stdout, PPD_ORDER_PROLOG);
printf("%%%%EndProlog0);
/* Setup section */
printf("%%%%BeginSetup0);
ppd_emit_to_file(ppd, stdout, PPD_ORDER_DOCUMENT);
printf("%%%%EndSetup0);
/* Main document begins */
for (...) {
printf("%%%%Page: 1 10);
/* Re-mark so that this is emitted on each page */
ppd_mark_option(ppd,"PageSize","A4");
printf("%%%%PageSetup0);
ppd_emit_to_file(ppd, stdout, PPD_ORDER_PAGE);
printf("%%%%EndPageSetup0);
/* Page info goes here */
...
}
/* Send ending JCL code */
fputs(ppd->jcl_end->str,stdout);
SEE ALSO
ppd_file_new(3), ppd_file_free(3)
ppd_emit_to_file(3)